tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksander Grzebyta" <ol...@talex.com.pl>
Subject Odp: Unable to run servlet in new webapp
Date Thu, 27 Apr 2000 16:42:23 GMT
You need to put web.xml file for new web application. Did you ?
sincerely Olek
----- Original Message -----
From: Scott Rosen <scottrosen@usa.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Thursday, April 27, 2000 5:52 AM
Subject: Unable to run servlet in new webapp


> Hope someone can help. I have defined a new webapp using the /examples
entry
> as a basis in server.xml as follows:
>
> <Context path="/timesheet" docBase="webapps/timesheet" debug="0"
> reloadable="true" >
> </Context>
>
> I put the servlet, timeserv.class, in
> $TOMCAT_HOME/webapps/timesheet/WEB-INF/classes directory. When I try to
run
> it from www.myserver.com/timesheet/servlet/timeserv I get a 404 not found
> back from the browser.
>
>
> However, if I put the same timeserv.class in the
> $TOMCAT_HOME/webapps/examples/WEB-INF/classes directory I am able to run
it
> successfully from www.myserver.com/examples/servlet/timeserv.



Mime
View raw message