How to redirect a web page from Tomcat to your browser?

2008-09-22 Thread DeanM
This question's probably been asked a hundred times but it's new to me and I haven't found anything directly helpful in my newbieness. I have a servlet running on Tomcat on a remote machine. The application is a web site. What I want to do is have some links on the index page that go to a secure

Re: How to redirect a web page from Tomcat to your browser?

2008-09-22 Thread Hassan Schroeder
On Mon, Sep 22, 2008 at 8:35 AM, DeanM [EMAIL PROTECTED] wrote: So, question is, how do I set up a mechanism so that you click on a link on the index page for the URL you want, Tomcat takes this and sends the request to the secure server, the secure server sends the page(s) back to Tomcat and

Re: How to redirect a web page from Tomcat to your browser?

2008-09-22 Thread DeanM
You need to write (or find) a proxy/reverse-proxy servlet. Alternatively, you could use Apache httpd that purpose. More moving parts, but possibly less work. :-) So you mean set up Apache and have Tomcat plug in to it? In other words, make Apache the front end my browser talks to, instead of

Re: How to redirect a web page from Tomcat to your browser?

2008-09-22 Thread Jeff
On Mon, Sep 22, 2008 at 10:46 AM, DeanM [EMAIL PROTECTED] wrote: You need to write (or find) a proxy/reverse-proxy servlet. Alternatively, you could use Apache httpd that purpose. More moving parts, but possibly less work. :-) So you mean set up Apache and have Tomcat plug in to it? In

Re: How to redirect a web page from Tomcat to your browser?

2008-09-22 Thread DeanM
jlar310 wrote: Not exactly. The Apache proxy would be independent of Tomcat. Your link in the servlet would simply link to the local, proxied address served by Apache. See ProxyPass and ProxyPassReverse in the Apache docs. OK thanks I'll go and have a read. -- View this message in