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


Please Help Members By Posting Answers For Below Questions

What is the purpose of @result?

582


What should be the name of xml file used for validation in struts?

541


What do you mean by tiles in struts?

542


How is the action mapping specified?

551


What is the need of struts?

566






Name the different types of actions found in struts.

558


What is pojo in struts2?

564


What is includeaction?

581


Do we need to pay the struts if being used in commercial purpose?

549


How can we display all validation errors to user on jsp page?

649


Which interceptor is responsible for file upload support?

577


What is ognl?

600


How action mapping is configured in Struts?

572


What is action servlet in struts?

539


What are the various struts tag libraries?

550