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 are the features of struts?
Which interceptor is responsible for mapping request parameters to action class Java Bean properties?
In which order struts framework searches for a message bundle?
What is controller in struts2?
How to combine the struts with velocity template?
What is the purpose of @intrangefieldvalidator annotation?
Explain architecture of struts2?
how to connect from struts to database through hibernet and where u can modify the class
What is the use of web xml in struts2?
What is struts framework in java?
What is the use of forwardaction?
What are the cons of struts 2?
What is interceptor in Struts2?
Difference between struts and spring? Or why use spring, if you are already using struts?
How to display validation errors on jsp page?