Page 1 of 1

About Question enthuware.jwpv6.2.1246 :

Posted: Thu Feb 20, 2014 4:16 am
by ramy6_1
Hello ,

For this question , you selected the fourth option to be correct , I believe the second option is correct also "Files stored under META-INF folder of a jar file can be served directly to the user only if they are in META-INF/resources."

Please check below

"

Static and JavaServer™ Pages (JSP) resources no longer confined to web application's document root

● May be placed inside WEB-INF/lib/[*.jar]/META-INF/resources
Container must honor this new location when processing HTTP requests and calls to ServletContext#getResource or
ServletContext#getResourceAsStream
methods

"

Please give explanation

Re: About Question enthuware.jwpv6.2.1246 :

Posted: Thu Feb 20, 2014 4:29 am
by admin
You are right. This has now been fixed.

thank you for your feedback!

Re: About Question enthuware.jwpv6.2.1246 :

Posted: Thu Feb 20, 2014 4:40 am
by ramy6_1
It is from Jpassion tutorial , Servlet 3.0 Basics - PDF

check below

http://www.jpassion.com/portal/java-ee- ... th-passion

Re: About Question enthuware.jwpv6.2.1246 :

Posted: Thu Feb 20, 2014 4:42 am
by admin
Sorry, I edited my previous response after checking Section 10.5 of the Servlet 3.0 specification.