Tobia,
I do not know about your problem, but in my application I used redirect
like :
cocoon.redirectTo("", true);
or
cocoon.redirectTo("viewcoincoin?coincoin=duck",true);
Never had a problem with those redirect, it would redirect to
"localhost/cocoon/myappli/" + first parameter everytime.
Baptiste
Tobia Conforto a écrit :
Let me explain the problem a bit more.
I'm still curious about the issue, although I've found a workaround.
According to the docs Cocoon will not rewrite URLs, unless you use the
encodeURL transformer or call the equivalent flowscript function.
What I'm seeing is that the Location header of a client-side redirect
gets rewritten somewhere between my flowscript call and the network.
I call:
cocoon.redirectTo('test')
And on the wire I see:
Location: http://my.server/test;jsessionid=xxxxxxxxxx
Who is rewriting the URL? Cocoon or Jetty? How can I disable it?
The workaround I've found is calling redirectTo like this:
cocoon.redirectTo('http://my.server/test', true)
With both a full URL as the first parameter and true as the second one,
the Location URL doesn't get rewritten.
Tobia
---------------------------------------------------------------------
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]