Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 @customvalidator annotation?

921


How struts 2 validation works?

1009


Why we use struts in java?

872


What is ognl?

1052


Why use spring, if you are already using struts?

932


What are different Struts2 tags? How can we use them?

904


What is role of actionservlet?

969


Can you explain aware interfaces in struts2?

975


How an actionform bean is created?

910


Why do we need mapdispatchtoprops?

813


What's the purpose of execute method of action class?

904


What is the purpose of global-forwards tag in struct-config.xml?

918


What’s the difference between struts and espresso?

915


What do you mean by dynaactionform?

927


What is the difference between requestaware and servletrequestaware interface?

987