You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "VAYRYNEN,KIMMO (HP-Finland,ex1)" <ki...@hp.com> on 2000/10/13 11:03:52 UTC

sendRedirect in Cocoon..?

Hi all,

How do you a 'sendRedirect(url)' from the cocoon-page?

Best regards,

Kimmo Vayrynen
Hewlett-Packard Finland

ps. you've got a great product....!!

Re: sendRedirect in Cocoon..?

Posted by Michael Bierenfeld <mi...@atmiralis.de>.
"VAYRYNEN,KIMMO (HP-Finland,ex1)" wrote:
> 
> Hi all,
> 
> How do you a 'sendRedirect(url)' from the cocoon-page?
> 
> Best regards,
> 
> Kimmo Vayrynen
> Hewlett-Packard Finland
> 
> ps. you've got a great product....!!
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org


That was easy ;-)

a) XSP With Java do :      response.sendRedirect
("hallo.html")
b) <response:send-redirect location="hallo.html"/>

Regards

Michael

Re: sendRedirect in Cocoon..?

Posted by Matthew Cordes <mc...@maine.edu>.
<xsp:logic>
	response.sendRedirect( 
		response.encodeRedirectURL("http://www.slashdot.org"));

</xsp:logic>

works for me.

-matt


On Fri, Oct 13, 2000 at 11:03:52AM +0200, VAYRYNEN,KIMMO (HP-Finland,ex1) wrote:
> Hi all,
> 
> How do you a 'sendRedirect(url)' from the cocoon-page?
> 
> Best regards,
> 
> Kimmo Vayrynen
> Hewlett-Packard Finland
> 
> ps. you've got a great product....!!
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>