You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by 1 1 <la...@ifrance.com> on 2002/12/09 14:34:58 UTC

sendRedirect in xml file

hI §
In my jsp files, when i do a sendRedirect, i have the folowing error 
"SAXParseException: The root element is required in a well-formed
document", because Cocoon 2.01 wait a xml document instead of a redirect
(code 302). 
I try to put some action or matcher in the pipeline to redirect on a new
page when a parameter is found in the request. But it doesn't work
because the pipeline is executed before the jsp generator :  And of
course,  the request parameter is empty before the jsp was executed. 
As I have a lot of redirectin my application, i have to do this redirect
from the jsp file !
I try also,to do the send redirect in xsl with the xalan redirect but i
didn't manage to do this.
Could someone help me!

_____________________________________________________________________
GRAND JEU SMS : Pour gagner un NOKIA 7650, envoyez le mot IF au 61321
(prix d'un SMS + 0.35 euro). Un SMS vous dira si vous avez gagné.
Règlement : http://www.ifrance.com/_reloc/sign.sms



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>