Re: [t5] response encode and redirect problem!

2010-08-26 Thread Josh Canfield
You don't know the URL for the page you are trying to redirect to? You are creating a relative URL, you need to know the server and path so create a new java.net.URL("http://theserver.com/thepath/whatever";) and return it from your event handler. -- Josh On Aug 26, 2010, at 1:05 PM, badluck13

Re: [t5] response encode and redirect problem!

2010-08-26 Thread Thiago H. de Paula Figueiredo
On Thu, 26 Aug 2010 17:05:00 -0300, badluck13 wrote: I don't know how to get URL!? :( new java.net.URL("http://tapestry.apache.org";); -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da

Re: [t5] response encode and redirect problem!

2010-08-26 Thread badluck13
I don't know how to get URL!? :( -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-response-encode-and-redirect-problem-tp2715046p2739157.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: [t5] response encode and redirect problem!

2010-08-26 Thread Josh Canfield
Don't call sendredirect directly, instead return a URL -- Josh On Aug 26, 2010, at 7:20 AM, badluck13 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 > s