| Author |
Struts-config.xml
|
Zoram Paul
Ranch Hand
Joined: Jul 10, 2007
Posts: 59
|
|
In the following tag in struts-config.xml <action path="/copyUrl" type="examples.simple.CopyUrlAction" name="CopyUrlBean" scope="request" input="/jsp/simple/urlPage.jsp" cancellable="true" validate="true"> <forward name="success" path="/jsp/simple/urlPage.jsp"/> <forward name="failure" path="/jsp/simple/urlPage.jsp"/> </action> Can I replace <forward name="success" path="/jsp/simple/urlPage.jsp"/> <forward name="failure" path="/jsp/simple/urlPage.jsp"/> with <redirect name="success" path="/jsp/simple/urlPage.jsp"/> <redirect name="failure" path="/jsp/simple/urlPage.jsp"/> Can you tell me whats the difference between them? When should I use and which one? Please reply...
|
ZORAM<br />"If it's true that we are here to help others,<br />then what exactly are the others here for?"
|
 |
 |
|
|
subject: Struts-config.xml
|
|
|