tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neale, Robert" <>
Subject Servlet basic question...classpaths and servlet locations.
Date Thu, 03 Jan 2002 12:42:20 GMT
I have Apache 1.3 and Tomcat 3.3 installed. I'm using Tomcat to run
servlets, having used JSERV in the past.  My question is, how does tomcat
decide where to look for the class to run?

Secondly, if it runs the class, how can I set the classpath for it? 

With JServ it was easy. I set lots of wrapper.classpaths in jserv.conf and
any request received by Apache that had /servlet in it was directed at

I've read the Tomcat docs but couldn't understand it. 

What I'm looking for is a step by step guide for taking a class, lets call
it LN.class, and being able to call it fron a browser by

I can get the examples working e.g 


that is in the webapps\examples\web-inf\classes directory. How can I
implement my LN class?

The LN class will run if I put it under the Root\web-inf\classes directory
but then complains that it can't find another class that it uses that should
be in the classpath (but isn't because I don't know how to set it.

The content of this e-mail is confidential, may contain privileged material
and is intended solely for the recipient(s) named above. If you receive this
in error, please notify Software AG immediately and delete this e-mail.

Software AG (UK) Limited
Registered in England & Wales 1310740
Registered Office: Hudson House, Hudson Way,
Pride Park, Derby DE24 8HS

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message