This use case is more typically handled by setting up a reverse proxy. We use http://httpd.apache.org/docs/2.2/mod/mod_proxy.html. For trivial content making the request yourself might be okay, but as soon as the page refers to other images/CSS/etc, you'll be reinventing the wheel. :)
On Fri, Sep 23, 2011 at 12:17 PM, kugaprakash <kvisagam...@infoblox.com>wrote: > Hi Dan, > Yes, I believe you are right, and that's prettymuch what I am looking for. > One of the developer who was trying to prototype the FB app with wicket, > mentioned that we could override the WebResponse, and achieve this: > https://cwiki.apache.org/WICKET/wicket-form-submits-fbml-and-redirects.html > > However, I am unable to get this to work for the IFrame (InlineFrame) I > have. > > Highly appreciate your response > Thanks > Kuga > > > From: Dan Retzlaff [via Apache Wicket] [mailto: > ml-node+s1842946n3837770...@n4.nabble.com] > Sent: Friday, September 23, 2011 12:05 PM > To: Kugaprakash Visagamani > Subject: Re: Help with URL Rewrite in IFrame! > > It sounds like you want to make a request to your internal, third party web > app and render the response to an external user. That's not typically > called > URL rewriting. To accomplish that, from your Wicket page/resource you'll > need to make a new HTTP request using the JDK or a library like > http://hc.apache.org/, and copy the internal app's response into your > Jetty > response. > > On Thu, Sep 22, 2011 at 9:57 PM, kugaprakash <[hidden > email]</user/SendEmail.jtp?type=node&node=3837770&i=0>>wrote: > > > Hi, > > Appreciate the response. > > Is there any way to redirect the URL when wicket gets it? Is there a URL > > rewriting capability? > > NOTE: Need to rewrite the URL only for the IFrame, and not the whole > page. > > > > thanks > > Kuga > > > > -- > > View this message in context: > > > http://apache-wicket.1842946.n4.nabble.com/Help-with-URL-Rewrite-in-IFrame-tp3835409p3835738.html > > Sent from the Users forum mailing list archive at Nabble.com. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [hidden > email]</user/SendEmail.jtp?type=node&node=3837770&i=1> > > For additional commands, e-mail: [hidden > email]</user/SendEmail.jtp?type=node&node=3837770&i=2> > > > > > > ________________________________ > If you reply to this email, your message will be added to the discussion > below: > > http://apache-wicket.1842946.n4.nabble.com/Help-with-URL-Rewrite-in-IFrame-tp3835409p3837770.html > To unsubscribe from Help with URL Rewrite in IFrame!, click here< > http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3835409&code=a3Zpc2FnYW1hbmlAaW5mb2Jsb3guY29tfDM4MzU0MDl8NjM0MjQ4MjIx > >. > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Help-with-URL-Rewrite-in-IFrame-tp3835409p3837820.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >