Its off topic for HttpClient (if I understand you need a transcoding proxy), but here are some resources that may help. You may want to have a look at some Jetspeed classes and related. Specifically the jetspeed.util.rewriter package, websurf portlet, and the webclipping portlet.
http://jakarta.apache.org/jetspeed/api/org/apache/jetspeed/util/rewriter/pac kage-summary.html http://jakarta.apache.org/jetspeed/site/community-portlets.html http://jakarta.apache.org/jetspeed/site/portlet_config_WebClippingPortlet.ht ml Cocoon may also have some similar code as I recall. HTH > -----Original Message----- > From: D Alvarado [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 21, 2004 12:32 PM > To: [EMAIL PROTECTED] > Subject: Re: Re: Change domains after faking a POST? > > > > > If you try and think this through carefully, > you will see that the term > "in the context of" will inadvertly lead to > ambiguities. What about > images referenced by the document, how must they > be resolved? What about > links to other domains, do we still have to use > the "proxy" or can we > just reach them directly? > > > Please for the sake of the architecture of your > application, do not > blindly relay content to the client. The Http > Proxy standard was > specifically made for that purpose. So do not > believe you can do better > - you will fail terribly. > > Ok, well I definitely won't pursue the blind > route. How would an HTTP Proxy behave in this > situation? Surely it wouldn't parse out HTML. > Also, not that this matters, but there will never > be images or links, just the relative url in the > action form tag. > > I have also considered the case that this > situation has no elegant answer. If so, I will > let this die. - > > > Care2 make the world greener! > Eighty-six nations have signed the international Framework > Convention on Tobacco Control. Help get the U.S. on the list! > http://www.care2.com/go/z/10840/1060 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
