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

Which class of struts is responsible to converts data types from string and vice versa?

1140


How many struts config file can be created in struts?

948


What is pojo in struts2?

1070


How an actionform bean is created?

1022


How we can configured action mapping in struts?

1061


How to use forward action to restrict a strut application to mvc?

1094


In which method of action class the business logic is executed?

1031


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

1004


What is the purpose of @typeconversion annotation annotation?

1022


What are the aware interfaces in struts2?

1086


What is the purpose of @conversion annotation annotation?

1325


What is the flow of requests in struts based applications?

1032


What is the forward action utilized for?

1153


Which design pattern is implemented by Struts2 interceptors?

1066


What is purpose of execandwait interceptor?

1159