Hi all I have a small doubt, If I make a new "myapp" folder in tomcat,s eebapps directory ,And the all the necessary directories are in the myapp directory according to my container,s directory structure. Now if built a simple html and placed it in myapp directory , My question is that to run this simple html page do i have to modify my web.xml or is ti necessary that web .sml should be there with following form
Originally posted by Jeroen T Wenting: you don't need a WEB-INF directory nor a web.xml at all to run purely static content.
Not true. Tomcat won't consider your directory to be a webapp unless it sees a WEB-INF directory.
It is true that you can deploy a webapp without a web.xml file though. It is also true that you will want one if you're writing anything more than a few trivial JSPs.