Hi,
You must place your files into $TOMCAT_HOME/webapps/simple, and access to
http://servername:8080/simple if your server is configured to work on this
port (see $TOMCAT_HOME/conf/server.xml, section
<Service name="Tomcat-Standalone">
<Connector
className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8080"
minProcessors="5"
maxProcessors="75"
enableLookups="true"
redirectPort="8443"
acceptCount="10"
debug="0"
connectionTimeout="20000"
useURIValidationHack="false">
-----Message d'origine-----
De : Julie Jordan [mailto:[EMAIL PROTECTED]]
Envoy� : lundi, 16. d�cembre 2002 16:23
� : [EMAIL PROTECTED]
Objet : accessing servlet 404 error
I'm just starting my first webapp with Tomcat and have placed the files &
classes into
/tomcat_home/simple:
Simple.html, index.class, index.jsp, index.java, Simple.java
classes
WEB-INF
I added the following to Server.xml:
<Context path="/simple" docBase="simple" debug="9" reloadable="true" />
When I try to access:
http://servername/simple
I get:
Ctx(/simple) : Status code:404 request:R( /simple + / + nu
ll) msg:null
I'm using:
Apache 1.3.9
JSDK2.0
mod_jk
Tomcat 3.3.1
Any help is greatly appreciated.
Julie
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>