• Post Reply Bookmark Topic Watch Topic
  • New Topic

Web-INF

 
yash Vi
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a question regarding the web-inf folder creation.
If we are not using an alias,why do we still need this folder to be created.What is the logic behind it.
when we dont use a deployment descriptor,why do we need this folder. does it not work without creating this empty folder.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When an application is deployed, the container has a series of steps it has to go through. Most of them involve looking for files under that directory.

For containers like Tomcat, the existence of that dir, signals that the current folder is a webapp.
 
Yong Bakos
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yash, you should check out the Servlet specification.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!