Hi,

  In you web.xml try this 

        <servlet-mapping>
                <servlet-name>myServlet</servlet-name>
                <url-pattern>/myServlet/*</url-pattern>
        </servlet-mapping>

   all request on "login" will be passed to servlet
"login". if you want to access the "myServlet" on
context "testcontext" this should be your url
"http://somedomain.com/testcontext/myServlet";
Hope that works

May the source be with you!!!
Francis

--- Eric MARTIN <[EMAIL PROTECTED]> wrote:
> Does anybody know how to mask the servlet ?
> 
> Using Apache /Tomcat, i would like the URL le /aName
> (or /) be redirect to my Servlet (without the
> /servlet/myServlet).
> 
> He's there a way to do so ?
> 
> Thanks
> 
> Eric
> 


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Reply via email to