did u update the servlet.properties??

it would probably be something like

servlet.Counter.code=Code (class file name)

try accessing one of the example servlets (is counter one of the examples
that come with JSWDK?)

regards,

manav


On Mon, 15 May 2000, Laiwu Luo wrote:

> I am trying to get familiar with Tomcat 3.1 environment. My simple
> question is:
>
> Without creating a new web application, where I should put my servlet
> files? I thought I could use the default "examples" application. So I
> did copy Counter.java and Counter.java into "examples/servlets"
> directory. But using the following URLs to access the servlet page
> always got "Error 404".
>
> http://localhost:8080/examples/servlets/Counter
> http://localhost:8080/examples/servlet/Counter
>
> Could anyone help to me to figure out in which directory I should copy
> my servlet file?
>
> Thanks,
>
> --
> Laiwu Luo
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

Manav Kher
   @
http://www.engr.umd.edu/~manav

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to