This is really a better question for the JServ-Interest mailing list, but
you need to set up an Servlet entry in the Admin applet before you can set
up a Servlet Alias.  Servlet Aliases point at Servlet Entries, not Servlet
Files.
    (*Chris*)

----- Original Message -----
From: Andreas <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 12, 1999 8:08 AM
Subject: Servlet Aliases>


> 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