tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnny Kewl" <j...@kewlstuff.co.za>
Subject Re: tomcat to tomcat redirect.
Date Fri, 10 Oct 2008 06:58:04 GMT

----- Original Message ----- 
From: "Rohan7" <rohan7799@gmail.com>
To: <users@tomcat.apache.org>
Sent: Friday, October 10, 2008 8:02 AM
Subject: tomcat to tomcat redirect.


>
> Hi All,
>  I'm using tomcat 5.5 . I'm using public IP- 
> http://1.2.3.4:8084/Project/.
> Now the similar instance is running on the
> internal IP. http ://192.168.100.102:8080/Project/.
>
> My question is - Can I redirect from http://1.2.3.4:8084/Project/  to http
> ://192.168.100.102:8080/Project/ ?
>
> Please help me for the same.
>
> Thnaks
> Rohan7

Hi Rohan,

Not sure if you asking how to set TC.... if so look at the connector in 
server.xml...
Or if you want to do an actual redirect in your app... 
response.sendRedirect(newUrl);

---------------------------------------------------------------------------
HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
---------------------------------------------------------------------------
If you cant pay in gold... get lost... 


---------------------------------------------------------------------
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