You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Niklas Grunditz <ni...@infosim.com> on 2001/05/24 17:26:00 UTC
forward
Hi thanks for the explaining of sessions Matthew.
I am using cocoon1.8.2 and tomcat.
My question is: How do you make a forwarding to another webpage in a
template??
Example <template match="error">
<xsl:choose>
<xsl:when test="message = 'X'">
GO TO ANOTHER PAGE "example.xml"
</xsl:when>
</xsl:choose>
</template>
I would be very happy whith help on this.
/Niklas
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: forward
Posted by Matthew Cordes <co...@cs.usm.maine.edu>.
Hi,
This is ot, but look here for more info
http://www.internet-tips.net/HTML/META_httpequiv_refresh.htm
Or if you do it from your xml file you could use java's
HttpServletResponse.sendRedirect() method (which does basically the same
thing as above).
-matt
----- Original Message -----
From: "Niklas Grunditz" <ni...@infosim.com>
To: <co...@xml.apache.org>
Sent: Thursday, May 24, 2001 11:26 AM
Subject: forward
Hi thanks for the explaining of sessions Matthew.
I am using cocoon1.8.2 and tomcat.
My question is: How do you make a forwarding to another webpage in a
template??
Example <template match="error">
<xsl:choose>
<xsl:when test="message = 'X'">
GO TO ANOTHER PAGE "example.xml"
</xsl:when>
</xsl:choose>
</template>
I would be very happy whith help on this.
/Niklas
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>