> -----Original Message-----
> From: ope [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 19, 2002 12:38 PM
> To: Tomcat Users List
> Subject: Re: Using Tomcat as a proxy?
> 
> 
> 
> > Why would you want to use a Java Servlet Container
> > to do proxying? It's like 
> > using a Space Shuttle to do door-to-door delivery.
> > If you need proxying, use 
> > Squid or Apache.
> 
> The reason I have to do this is to make the best of a
> rather brain dead product deployment.  This is not a
> long term fix but it is only a temporary fix to keep
> customers happy for two months until we can change
> everything.  I got thrown into the whole mix after the
> fact.  Unfortunately installing Apache or Squid (my
> first suggestion) on the clients site is not an
> option.
> 
> > If you want to have pieces of other sites inside
> > your webapp, the it is a whole 
> > new ball game.
> 
> Ultimately this is the idea.  Basically we need to use
> our webapp to get a page from another server and pass
> it back to the user but make it appear that it came
> from our webapp.  It is an ugly thing to do but I need
> to find a quick fix before I can work on a real fix. 
> If you have any ideas, suggestions or links I would
> appreciate it.

Open a URLConnection to the real page, read the data and write it to your
output stream. This can be done in a servlet or a filter.

Charlie

> 
> __________________________________________________
> Do You Yahoo!?
> HotJobs - Search Thousands of New Jobs
> http://www.hotjobs.com
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to