Since Tomcat 3.3 implements the Servlet 2.2 spec, the answer is yes. All content served must come from web applications. This continues to be true for the Servlet 2.3 spec supported by Tomcat 4.x versions.
Tomcat 3.3 still supports the legacy "/servlet" method of invoking servlets, so it is possible to execute servlets with adding anything to the web.xml. The servlet classes don't have to under the WEB-INF directory, but it is usually the best place for them to be. The servlet specs may be found at: <http://java.sun.com/products/servlet/download.html> Cheers, Larry > -----Original Message----- > From: Darrell Esau [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 07, 2002 8:06 PM > To: [EMAIL PROTECTED] > Subject: webapp necessary? > > > Hello all, > > I'm trying to migrate a (rather large) legacy application to > Tomcat 3.3 + > Apache. > > Previously (with various web servers), I only needed to > provide the classpath > and servlet directory repository. > > With Tomcat it seems that I MUST use a webapp structure. Is > this true? > > Is there any way to tell Tomcat where my servlets are without > providing a > web.xml file in a WEB-INF directory off the webapps directory? > > Thanks, > Darrell > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
