This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Allowed content of a WAR Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Allowed content of a WAR" Watch "Allowed content of a WAR" New topic

Allowed content of a WAR

Alex Serna
Ranch Hand

Joined: Sep 18, 2009
Posts: 58
Hi everyone,

I found a Whizlab mock question that says that JSP pages are not allowed inside the WEB-INF directory of a WAR file. Doesn't it work like when the app isn't packed in a WAR? I thought JSPs could be placed there, but they wouldn't be directly accessible by clients.


Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63052

You are correct.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Alex Serna
Ranch Hand

Joined: Sep 18, 2009
Posts: 58
Thank you!
It is sorta covered in the JavaRanch Style Guide.
subject: Allowed content of a WAR
It's not a secret anymore!