tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kyle Burke" <burke...@mediaone.net>
Subject RE: Neebie question...
Date Fri, 23 Feb 2001 19:39:22 GMT
<%=drive letter%>:\<%=tomcat folder%>\webapps\ROOT\WEB-INF\classes

-----Original Message-----
From: Gary Bentley [mailto:gb@opengroup.org]
Sent: Friday, February 23, 2001 2:30 PM
To: tomcat-user@jakarta.apache.org
Subject: Neebie question...


Sorry about this but I'm stuck...

I've already got JServ working with Apache, and alls fine...

However, I'm trying to get Tomcat working and I'm wondering where the hell
do I put the .class files?

There is an example that has a mount point:

	/examples/servlet /examples

Where /examples maps to: <path>/jakarta-tomcat-3.2.1/webapps/examples

Now I know that the Tomcat is working because when I go to:

	http://localhost/examples/servlet/HelloWorldExample

I do get the "Hello World!" and if I shutdown Tomcat I get a Server error...

Now, the problem I have is that there are NO class files in the
/webapps/examples directory...

So when I try and add my own mount point I keep getting a message back from
Tomcat that it cannot find the class files...however I am doing the same as
the examples mount point...but where do I stuff the class files???  The
class files seem to be in the WEB-INF/classes directory, but I can't see
where that is referenced in the server.xml?  Also, do I need to have a
WEB-INF directory with the web.xml file?  Does anyone have any further
information on this???

This seemed so much easier on JServ...

Can anyone help?

G.

P.S.  Also, does anyone know how to stop Tomcat automatically tagging
/servlet onto the end of the mount point when it generates the
tomcat-apache.conf file, I don't want my Users to have to put in the servlet
everytime...and I don't want to have to edit it myself everytime I reload!


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, email: tomcat-user-help@jakarta.apache.org



Mime
View raw message