tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "AC" <>
Subject alias servlet in Tomcat
Date Thu, 01 Mar 2001 02:14:02 GMT

I am using Tomcat 3.1 and I need to shorten URL such that if I type in
<http://servername:port/>, it will get to the login servlet page. Basically,
have a servlet like and I was able to alias it to
<http://servername:port/login> but I can't figure out a way to alias it
further such that even "login" following the servername is not necessary.
The way I mapped the login servlet is by adding the following to web.xml,



Does anyone know how to configure it so all I need is

Thank you!

View raw message