[Opensource] how to redirect to other JSP
Mike Traum
mtraum at cirnetwork.org
Thu Jul 11 08:59:07 PDT 2002
You can change the default view of the state to any view you have defined
for the controller (or global ones) by using the 'style' parameter. For
example, 'action.do?style=different' will run the default state of action
under the 'different' forward, which is mapped to a jsp in
"struts-config.xml".
HTH,
Mike
-----Original Message-----
From: opensource-admin at jcorporate.com
[mailto:opensource-admin at jcorporate.com]On Behalf Of milend
Sent: Wednesday, July 10, 2002 3:46 PM
To: opensource at jcorporate.com
Subject: [Opensource] how to redirect to other JSP
Hi All,
How to go to a JSP other then the one specified in the configuration XML
for a particular state?
We know how to go to another state but we do not know how the change the
jsp that will be returned to the user.
Can this be done at runtime inside the controller?
_______________________________________________
Opensource mailing list
Opensource at jcorporate.com
http://mail.jcorporate.com/mailman/listinfo/opensource
Archives: http://mail.jcorporate.com/pipermail/opensource/
More information about the Opensource
mailing list