aspose file tools
The moose likes Servlets and the fly likes WEB-INF Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "WEB-INF" Watch "WEB-INF" New topic
Author

WEB-INF

Muhammad Uzair Baig
Greenhorn

Joined: Mar 02, 2004
Posts: 12
hello

How can i create my own WEB-INF and register it with tomcat.

Thank you
Best Regards
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12271
    
    1
Tomcat, when starting up, will recognize any directory under webapps as a web application if:
1. There is a WEB-INF subdirectory (must be upper case)
2. The WEB-INF directory has a web.xml file in the right format (which can be minimal but must be there)

See the web.xml file under webapps/examples for inspiration. You can get the definitive information on web.xml from this Sun site - be sure you get the API version that matches the Tomcat you are using.
Bill


Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: WEB-INF
 
Similar Threads
hibernate.properties not found error , But I have the file in classpath
is it web-inf or WEB-INF
Not able to view the folder contents
web.xml is not pointing to the local application
Java bean usage in JSP(s)