aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes scwcd hints doubt ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "scwcd hints doubt ?" Watch "scwcd hints doubt ?" New topic
Author

scwcd hints doubt ?

gurpeet singh
Ranch Hand

Joined: Apr 04, 2012
Posts: 924
    
    1


given is the point from scwcd hints at https://www.coderanch.com/how-to/java/ScwcdHints

12) Having a directory called WEB-INF is a strong recommendation, but not an absolute obligation. Look out for questions that ask you to say whether a web application must have particular directories. The correct answer is no!

i think as per servlet spec it is required to have WEB-INF directory. correct me if am wrong ?
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1717
    
  25

If you read the specs well you can't find any place that it states that a web-application must have a WEB-INF directory. So technically spoken you can have a web-application without a WEB-INF directory with only JSPs and HTML-files in the root directory of the web-app. However nobody will ever use this in production of course.

check this WEB-INF-Directory-mandatory thread.

I think the Servlet 3.0 specs should have fixed this issue and made the WEB-INF directory mandatory.

Regards,
Frits
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: scwcd hints doubt ?