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

life cycle of struts?

Answer Posted / ayan mukherjee

When the Framework is loaded, it first loaded the Web.xml
file. Then from the Servlet tag of Web.xml, it identifies
the ActionServlet(or the Struts-Cofig.xml). Then from
welcome-file tag of Struts-Cofig.xml, it identifies the
first JSP page and runs it. Then when the request comes
through that jsp, from acion-mappings tag of Struts-
Cofig.xml it identifies the request, through path tag
(request name) and input tag (jsp name), through name tag
it identifies which bean is needed to access the data and
through type tag it identifies which Action should be
invoked. Then through the forward tag it identifies to
which jsp it has to forward the response.

Is This Answer Correct ?    69 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to convert struts to spring mvc?

1007


Can I have html form property without associated getter and setter formbean methods?

1013


What is struts and why it is used?

965


How does one create an action in struts 2?

955


What is lookupdispatchaction?

1025


What is execute method in struts?

940


How to use dispatchaction?

1041


What are pull and push mvc architecture and which architecture does struts2 follow?

931


Give an alternative way to protect jsp’s with not much features from direct access.

1004


Why use spring, if you are already using struts?

996


What is structs 2 validation framework?

998


What is the purpose of @key?

1054


Are interceptors and filters different?

1041


What is the purpose of @after?

1035


How struts 2 validation works?

1081