Implement a filter/Servlet and do a redirect there

response.sendRedirect(..);

Rob Tanner wrote:
Hi,

I would like to setup an HTTPS connector in Tomcat (v 5.5.23) that listens on port 28080. That part's easy enough and there is already a certificate installed. Here's the part I'm having trouble with. Whenever a browser send a GET request to that port, I need to return a redirect to an entirely different server (different IP, etc) listening on port 28443. I cannot figure out anyway to do that.

Any ideas?

Thanks,
Rob




--
........................................
<signature>
  <full-name> Vinu Varghese </full-name>
  <company-email> [EMAIL PROTECTED] </company-email>
  <company-website> www.x-minds.org </company-website>
  <big-words>
   Success always occurs in private, and failure in full view.
   </big-words>
  <company-name-big>
\/      ._ _   o  ._    _|   _
/\ ~~ | | | | | | (_| _\ </company-name-big>
</signature>

Reply via email to