You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Thébault, Médérick" <Me...@brittany-ferries.fr> on 2002/06/11 10:08:40 UTC

Tomcat and servlet

Hi again,

I would like to change the URL of my servlet.

It can be access thru "http://localhost/servlet/MyServlet" but I would
like to avoid "servlet" part.

In every example that I saw, the "servlet" part was always in. Is there
a way to set up something like alias?

Thanx

Med

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Tomcat and servlet

Posted by Markus Kirsten <ma...@iped.vxu.se>.
Hi Med,
Deploy your servlet in the ROOT context instead.


Markus


On tisdag, juni 11, 2002, at 10:08 , Thébault, Médérick wrote:

> Hi again,
>
> I would like to change the URL of my servlet.
>
> It can be access thru "http://localhost/servlet/MyServlet" but I would
> like to avoid "servlet" part.
>
> In every example that I saw, the "servlet" part was always in. Is there
> a way to set up something like alias?
>
> Thanx
>
> Med
>
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-
> help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>