try http://www.server.com/servlet/myS or
http://www.server.com/servlet/cruncerclass.myS Note, the servlet is singular
in the URL, but plural in the directory structure.
    (*Chris*)

----- Original Message -----
From: Vincent Yau <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 11, 1999 11:34 AM
Subject: package and servlets


> Dear All
>
> i have a servlet that runs fine but when I include a package
> statement on top of my servlet, I will get a message in my browser
> saying servlet not found.
>
> Basically, my code looks like:
>
>    package cruncherclass ;
>
>    public class myS extends HttpServlet  {
>
>      ......
>
>    }
>
>
> http://www.server.com/servlets/myS   will yield URL not found
>
> http://www.server.com/servlets/cruncherclass.myS  will also yield URL not
> found.
>
> Can someone clue in what I did wrong?
>
> --Vincent
>
>
> _______________________________________________________________
> Get Free Email and Do More On The Web. Visit http://www.msn.com
>
>
___________________________________________________________________________
> 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
>

___________________________________________________________________________
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