Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Nested Folders in webapps

 
Sandeep Chhabra
Ranch Hand
Posts: 340
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're right, WEB-INF needs to be a top-level directory inside the web application directory.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!