Hi Gareth

in similar situations, I've used a custom form component. You can pretty
well just start using @Any for this. Then the client request goes
directly to the target site. Dowside is, if you calculate some of the
form fields on the server side, you might need some javascript stuff to
auto-submit the form ...
hth, Marcus

> -----Original Message-----
> From: Gareth [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, November 30, 2006 10:35 AM
> To: Tapestry users
> Subject: Redirect to an external site on the serverside
> 
> Hi,
> 
> I've been trying to force a redirect to happen by throwing a 
> RedirectException, and even injecting 
> "tapestry.globals.HttpServletRequest" and forwarding it, but 
> I can't find any way of forcing the redirect to contain the 
> POST information from my page that was submitted.
> 
> Is there any way?
> 
> Essentially, I don't want to pass parameters to the external 
> site  over the URL  because this would allow the user to 
> manually change them.
> 
> I've begun to wonder if the easiest way is to build my own 
> request from scratch and sending it as if my server-side code 
> were a browser, then somehow pass the response through to the 
> client - essentially acting as a proxy I suppose, but only 
> for the initial page retrieval... after that, my idea was the 
> client's browser would talk direct to the external website, 
> which incidentally is running in SSL (https) mode. Is any of 
> this possible, and assuming it is, how would I go about doing it?
> 
> Any Ideas?
> 
> Many thanks.
> 
> Gareth
> 
> 
> Send instant messages to your online friends 
> http://uk.messenger.yahoo.com 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to