Don't call sendredirect directly, instead return a URL

-- Josh

On Aug 26, 2010, at 7:20 AM, badluck13 <blueb...@gmail.com> wrote:

> 
> Hello,
> 
> I'm trying to redirect to different web site and I have token =
> "EC-4WT66732GJ787622M"
> 
> This is string token that I get from paypal... Now on theirs examples I
> should encodeRedirectURL and than redirect to theirs page... like this:
> 
> response.sendRedirect(response.encodeRedirectURL(token));
> 
> Problem is that tapestry is doing this:
> 
> "GET /megapanel/user/payment.checkoutwithpaypal HTTP/1.1"
> "GET /megapanel/user/EC-4WT66732GJ787622M HTTP/1.1"
> 
> So after I sendRedirect instead to go to paypal authorization page and to
> continue with order, its trying to add paypal token to one level down url of
> my application...
> 
> HOW CAN I ENCODE IT AND REDIRECT IT WITHOUT THIS ISSUES!? 
> 
> I tried too many things and I'm looping my head to the wall :D :D
> 
> 
> SO this is PRETTY URGENT
> 
> CAN ANYONE HELP!!!
> -- 
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/t5-response-encode-and-redirect-problem-tp2715046p2715046.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to