hi,
one way  of redirecting is
first  within  xsp logic  tags get the  dynamic value aand with a if loop try this  out
javax.servlet.RequestDispatcher turn=
((org.apache.cocoon.environment.http.HttpRequest)request).getRequestDispatch
er("hello.xml");
turn.forward(((org.apache.cocoon.environment.http.HttpRequest)request).getHttpServletRequest(),((org.apache.cocoon.environment.http.HttpResponse)response).getHttpServletResponse());
regards
sumit
----- Original Message -----
From: m-rao
Sent: Sunday, January 06, 2002 11:17 AM
Subject: redirection in an XSP

Hi,
 
Is there a way I can redirect another xsp (or url) from a xsp?
 
Say, based on the value that is retrieved in a dynamic xsp, I no longer wish to output the page to the user but redirect to some other xsp.
 
Thanks,
 
Raju
 
 

Reply via email to