try this:

http://localhost:8080/servlet/ServletTest

Rgrds,
Klaas

-----Original Message-----
From: Apache Java [mailto:[EMAIL PROTECTED]]
Sent: donderdag 2 augustus 2001 20:15
To: [EMAIL PROTECTED]
Subject: Re: HTTP 404 Error


Use following url

http://localhost:8080/ServletTest/ServletTest

Jeffrey

----- Original Message -----
From: Jeff Rancier <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 01, 2001 1:25 PM
Subject: HTTP 404 Error


> Hello,
>
> I'm stumped.  I have the following directory structure/files:
>
> c:/tomcat/webapps/ServletTest/WEB-INF/web.xml
> c:/tomcat/webapps/ServletTest/WEB-INF/classes/ServletTest.class
>
> I added the following to my server.xml file:
>
> <Context path="/ServletTest"
>          docBase="webapps/ServletTest"
>          crossContext="false"
>          debug="0"
>          reloadable="true" >
> </Context>
>
> And my web.xml contains:
>
> <web-app>
>   <servlet>
>     <servlet-name>ServletTest</servlet-name>
>     <servlet-class>ServletTest</servlet-class>
>   </servlet>
>   <servlet-mapping>
>     <servlet-name>ServletTest</servlet-name>
>     <url-pattern>/ServletTest</url-pattern>
>   </servlet-mapping>
> </web-app>
>
> If I attempt to open http://localhost/ServletTest, I get HTTP 404, file
not
> found.
> If I attempt to open http://localhost:8080/ServletTest, I get the page
> cannot be displayed.
>
> Any suggestions would be appreciated.
>
> Jeff


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to