A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Question regarding forward tag
Joined: Jul 11, 2005
Mar 17, 2009 13:53:37
Can we include more than one forward inside action in struts-config.xml
<action path="/pageLoad" type="LoadAction" name="LoginActionForm" scope="session" validate="true" input="/index.jsp"> <forward name="success" path="/Login.jsp" /> <forward name="admin" path="jsp/Admin.jsp"/> </action>
I tried to include some thing like this , but its not working .
Joined: Sep 29, 2008
Mar 17, 2009 14:45:26
You can have an arbitrary number of forward definitions.
It would have saved a step to include *what* wasn't working: the symptoms, exceptions, behaviors, etc. See
subject: Question regarding forward tag
action mapping for pre-login
[SOLVED] Problem with LocaleAction + DynaActionForm
My Execute method does not called
ValidationForm causes error
Can I have two Action for one Form
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015