URL Redirecting.

Discussions

EJB programming & troubleshooting: URL Redirecting.

  1. URL Redirecting. (4 messages)

    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)

  2. Re: URL Redirecting.[ Go to top ]

    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
  3. URL Redirecting[ Go to top ]

    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.
  4. Re: URL Redirecting[ Go to top ]

    you may need to configure this in the config file of the web/app server. it is usually called the virtual hosting.
  5. Url problem..[ Go to top ]

    yes you must to congifure again. Programming Java