Hi Andreas,

        The first field should be exactly like you said, \MS
        The second field should match the name which you gave your servlet when
you added it. You did explicitly add it using the administration tool?
This name may be different than the name of the java file or class.
        When both of these steps have been taken then you will be able to
access your servlet using

http://localhost:9090\MS

-hope this helps.

Spencer Ridder
[EMAIL PROTECTED]

Andreas wrote:
>
> Hi to everybody!
>
> I am probably the only member here with the least of knowledge on the topic
> but I have a question that needs answering anyway!
>
> I have JavaWebServer1.1.3; I have created a small and simple servlet which I
> have of course compiled and succesfully loaded on the server's \servlet
> subdir. I want to give it a new name by adding an alias and I am accessing
> the Management SetUp panel in order to do it. I add the path and the
> corresponding java file that needs to be invoked but when I invoke it, the
> browser throws a (404) error. Just to let you know I am doing everything
> locally.
>
> I think I am typing something wrong in the path.
> Should it be \MS (MyServlet's alias) and in the next field: Myservlet (the
> java file) ? Or shoud it be  \<local-host:9090>\servlet\MS and the rest the
> same?
>
> I have used both and it doesn't work. Of course, if I load the servlet by
> following the absolute path \<local-host:9090>\servlet\MyServlet everything
> works fine... It's just the alias I'm getting wrong..sorry for this basic
> question but I'm still learning..
>
> Any suggestions?
>
> Thanks,
>
> andreas
>
> ___________________________________________________________________________
> 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