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 struts and why it is used?

957


What is the role of action class in struts?

1015


What do you mean by actionmapping?

960


What is the flow of requests in struts based applications?

991


Which configuration files are used in struts?

956


Are interceptors thread safe?

1013


What is struts?

976


What is the use of token interceptor in Struts2?

1077


Can you explain custom tag?

971


How is a lookup dispatch action created?

995


How do you create message resource?

1000


What do struts do?

963


How can link tag’s action attribute be used?

948


What is role of actionservlet?

1026


Can you explain the directory structure for a struts folder in brief ?

964