Try http://localhost:8080/servlet/MyServletClass
assuming that your class is in 
$TOMCAT_HOME/webapps/ROOT/WEB-INF/classes/MyServletClass.class
 


On Mon, 13 Aug 2001, Kenneth Litwak wrote:

>     I'm trying to run a basic servlet tutorial using
> tomcat on Win 2000 with Netscape. It doens't work.
> 
> I start tomcat, and get
> 2001-08-13 03:34:12 - ContextManager: Adding context
> Ctx( /examples )
> 2001-08-13 03:34:12 - ContextManager: Adding context
> Ctx( /admin )
> Starting tomcat. Check logs/tomcat.log for error
> messages
> 2001-08-13 03:34:12 - ContextManager: Adding context
> Ctx(  )
> 2001-08-13 03:34:12 - ContextManager: Adding context
> Ctx( /test )
> 2001-08-13 03:34:13 - PoolTcpConnector: Starting
> HttpConnectionHandler on 8080
> 2001-08-13 03:34:13 - PoolTcpConnector: Starting
> Ajp12ConnectionHandler on 8007
> 
> Next, I go to Netscpae and tyr to opne a page.  The
> final URL i sue is 
> http://localhost:8080/ROOT/WEB-INF/classes/MyServletClass.class
> That fails with a 404
> 
> THen I moved he code and tried
> http:/localhost:8080/webapps/examples/WEB-INF/classes/Myservletcalss.class
> That didn't work either.  The tomcat screen in both
> cases listed the URL, followed by the word "null".  
> I khave doen this under the ROOT directory wiht a
> servlet on Solaris without a hitch Now that I'm trying
> it on WIndows in a diferent environment, it won/t
> work.
> 
> I've tried changing the Netscape settings for ptoxy. 
> I swithced them to "Manual proxy", and set the http IP
> address to 127..01, and the prot for everything to
> 8080.  This still doens't work.  I'm not trying to do
> anything fancy.  I jsut want to be able to stat the
> sever, and code and run JSPs and servlets.  I'd
> appreciate help with this basic problem.  Thanks.
> 
>    If it matters,I'm not on the Internet, but I was
> told htat's irrelevant. 
> 
> Ken
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
> 

Jan K. Labanowski            |    phone: 614-292-9279,  FAX: 614-292-7168
Ohio Supercomputer Center    |    Internet: [EMAIL PROTECTED] 
1224 Kinnear Rd,             |    http://www.ccl.net/chemistry.html
Columbus, OH 43212-1163      |    http://www.osc.edu/

Reply via email to