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...

tell me struts flow ?

Answer Posted / a.v.satyanarayana

Struts follows mvc pattern.

Model ; which is represented as bussiness components.

View: at view level we have JSP's

Controler: Actionservlet given by the frame work.

This frame work mainly depends upon two xml files.

1) is web.xml where we are moniteriong the controlerpart.

2) struts.config.xml where action classes are congured.

when a request is submitted, this request is handelled by
the controller.And the actionservlet internally checks into
the struts config.xml and identifies the coresponding
action class.

Instantiate that action class and execute the bussiness
logic in that action class and forwards the request to the
required JSP.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does interceptor work in struts2?

982


What is the purpose of struct-config.xml in struct2?

1036


How you will display validation fail errors on jsp page?

983


How does struts2 token work?

1020


Mark the differences between html tags and strut specific html tags.

1034


What are action errors and error?

1079


What is the difference between filters and interceptors ?

1245


What is the use of struts config xml file?

933


Why aren’t the struts tags maintained as part of the jakarta taglibs project ?

969


Which interceptor is responsible for mapping request parameters to action class Java Bean properties?

1108


What is the differences between struts1 and struts2?

985


How are interceptors and servlet filters different?

1045


What are the some useful annotations introduced in struts2?

1029


What does i18n interceptor?

1096


What is includeaction?

1047