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

Why use struts framework in java?

1103


What is dispatchaction?

1107


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

971


What is the purpose of @beforeresult annotation?

1020


What do you mean by a custom tag?

952


Is struts mvc framework?

931


What is difference between struts1 and struts2?

926


How action mapping is configured in Struts?

1109


What are the differences between Struts1 and Struts2 or how Struts2 is better than Struts1?

1016


What are the struts2 error message keys that can come during file uploading process?

1073


What is the purpose of @results?

1002


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

952


What is difference between interceptors and filters?

1033


Do you need an alignment after replacing struts?

941


What is the purpose of @intrangefieldvalidator annotation?

1315