tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hassan Schroeder" <hassan.schroe...@gmail.com>
Subject Re: URL Redirection in tomcat
Date Mon, 10 Jul 2006 16:24:15 GMT
On 6/29/06, santhoshs <santhosh.irtt@gmail.com> wrote:

> Am using Tomcat 5.0 . My requirement is to redirect the URL
> "http://username.mysite.com" to
> "http://username.site.com/application.do?login_name=username".

> My Question is whether should i use apache for this redirection or can i
> achieve this using tomcat itself ? If so what should I do to achieve this ?

You certainly don't need apache, but you do need to read the servlet
spec about welcome files and forwarding. :-)

Also, if the originating URL is the root of your site, where is the value
"username" coming from??

-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message