File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Required directory structure in tomcat4.1.24 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Required directory structure in tomcat4.1.24" Watch "Required directory structure in tomcat4.1.24" New topic
Author

Required directory structure in tomcat4.1.24

cKunal
Greenhorn

Joined: Nov 03, 2003
Posts: 4
Hey guz,
can some body tell me do we really need to have the directory structure as recommended in servlet2.2 specification for developing web application on tomcat4.1.24.I mean to say do we need webinf/classes,webinf/lib, web.xml etc placed under root folder of my application.Actually i have developed an application wherein only jsp files are there ,when i create a root folder for my application and place those developed jsps inside it & try to call thru IE its giving me resource not found error.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 11863
It is probably saying resource not found because Tomcat does not consider a directory a "web application" if it does not have a WEB-INF (all caps, this is important) and a web.xml file.
Bill


Java Resources at www.wbrogden.com
 
 
subject: Required directory structure in tomcat4.1.24
 
Threads others viewed
How can I get my HelloWorld Servlet to Run?
DEPLOYMENT PROBLEM IN WEBSPHERE4.0
importing files to eclipse 3.1
Recursive copying and pasting of files
newbie form submit question
MyEclipse, The Clear Choice