This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Nested Folders in webapps Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Nested Folders in webapps" Watch "Nested Folders in webapps" New topic
Author

Nested Folders in webapps

Sandeep Chhabra
Ranch Hand

Joined: Aug 28, 2005
Posts: 340
Hi,

I am facing a small problem, hopefully anyone of you could help me.
Whenever i create a nested dir structure in webapps and put WEB-INF in it like this :
/webapps/Test/Test1/WEB-INF

The container does not finds my webapp. On the other hand whenever I make in like this :
/webapps/Test/WEB-INF
It works fine.

So just wanted to confirm if there is some limitation that WEB-INF should be under immediate sub-folder of webapps.

Thanks for your kind help.


Regards<br />Sandy<br />[SCJP 5.0 - 75%]<br />[SCWCD 1.4 - 85%]<br />------------------<br />Tiger, Tiger burning bright,<br />Like a geek who works all night,<br />What new-fangled bit or byte,<br />Could ease the hacker's weary plight?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41089
    
  44
You're right, WEB-INF needs to be a top-level directory inside the web application directory.


Ping & DNS - my free Android networking tools app
 
Don't get me started about those stupid light bulbs.
 
subject: Nested Folders in webapps
 
Similar Threads
sendRedirect()
everything dandy except servlet
web.xml within tomcat
HTTP Status 404 - /Ch03/
http error 500 ServletException: Cannot allocate servlet instance...