my dog learned polymorphism*
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
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: 41600
    
  55
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Nested Folders in webapps