-
URL Redirecting. (4 messages)
- Posted by: Durga Chowdary
- Posted on: April 03 2008 08:27 EDT
Hi All, I am having a Structs Application in which I want to redirect URL. My requirement is if a user types http://xxxx.com it has to redirect user to one application and if a user type http://xxx.org it has to redirect to other application. I guess we need it configure it in Tomcat Server rather than in application so can any one provide solution for this. Thanks in Advance, Durga.Threaded Messages (4)
- Re: URL Redirecting. by Santosh Swain on April 10 2008 00:31 EDT
- URL Redirecting by Durga Chowdary on April 10 2008 18:00 EDT
-
Re: URL Redirecting by ravi geda on April 14 2008 05:52 EDT
- Url problem.. by dur cos on June 13 2008 09:37 EDT
-
Re: URL Redirecting by ravi geda on April 14 2008 05:52 EDT
- URL Redirecting by Durga Chowdary on April 10 2008 18:00 EDT
-
Re: URL Redirecting.[ Go to top ]
- Posted by: Santosh Swain
- Posted on: April 10 2008 00:31 EDT
- in response to Durga Chowdary
If i am getting it right You want to redirect the user based on the input provided You can use respons.sendRedirect() method to send the user outside the context -
URL Redirecting[ Go to top ]
- Posted by: Durga Chowdary
- Posted on: April 10 2008 18:00 EDT
- in response to Santosh Swain
Hi, My requirement is before providing any input i mean input will be just url. when the user types http://xxx.com it has to redirect to one application and if the user types http://xxx.org it has to redirect to another applications. Both the applications are running in the same Server and on the same port. Thanks, Durga. -
Re: URL Redirecting[ Go to top ]
- Posted by: ravi geda
- Posted on: April 14 2008 05:52 EDT
- in response to Durga Chowdary
you may need to configure this in the config file of the web/app server. it is usually called the virtual hosting. -
Url problem..[ Go to top ]
- Posted by: dur cos
- Posted on: June 13 2008 09:37 EDT
- in response to ravi geda