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
Which library is provided by struts for form elements like check boxes, text boxes etc?
What is the purpose of interceptors?
Explain the difference between dispatchaction and lookupdispatchaction in struts?
What is the difference between empty default namespace and root namespace?
How does interceptor work in struts2?
What is switchaction?
What is role of action class?
What is structs 2 validation framework?
What do you mean by actionservlet?
What is pojo in struts2?
What are the features of struts?
What is apache struts vulnerability?
Which design pattern is implemented by Struts2 interceptors?
What is the purpose of @createifnull annotation annotation?
Can you give an overview of how a struts application flows?