what is ForwardAction and IncludeAction in struts?
Answer Posted / a.kranthi kumar
ForwardAction is used forward controle from one (jsp)page to another page(jsp) by follow MVC rules.
we can use this we simply configure it in struts-cinfig.xml
file. But we no need extend any class separately.
<action-mappings>
<action path="/success.do" type="org.apache.struts.actions.ForwardAction"
parameter="/success.jsp"/>
</action-mappings>
(or)
<action path="/success" forward="success.jsp">
| Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
What is the purpose of @customvalidator annotation?
How struts 2 validation works?
Why we use struts in java?
What is ognl?
Why use spring, if you are already using struts?
What are different Struts2 tags? How can we use them?
What is role of actionservlet?
Can you explain aware interfaces in struts2?
How an actionform bean is created?
Why do we need mapdispatchtoprops?
What's the purpose of execute method of action class?
What is the purpose of global-forwards tag in struct-config.xml?
What’s the difference between struts and espresso?
What do you mean by dynaactionform?
What is the difference between requestaware and servletrequestaware interface?