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?

Answers were Sorted based on User's Feedback



life cycle of struts? ..

Answer / mahipalreddy

There is no perticular life cycle of struts , but it
basically depending on servelet almost it following
servelet lifecyle, they developed by servlet lifecycle only
and they added security methods.

Is This Answer Correct ?    0 Yes 2 No

life cycle of struts? ..

Answer / sitaram

Please find the below ural for struts life cycle digram.
http://www.ibm.com/developerworks/java/library/j-seam1/lifecycle.gif.

suppose one form having name,age two fields and one submit
button. when ever enter the two fields and submit button.
the request goes to web.xml. the request check in the struts
config.file. the related form bean and action class will be
executing. then related redirect page.

Is This Answer Correct ?    5 Yes 8 No

life cycle of struts? ..

Answer / kartheeswari

There are many steps,

1. After getting the request from the client, the
ActionServlet invokes the goGet() or doPost() method, in
which there is a invokation of process() method.This method
desides the module.

2. Action servlet dispatches the request to RequestProcesor
class which does some core works of ActionServlet.Then
invokes the appropriate Action class.

3. Action class does main business logic and data accessing
(communicating with Moedl) thru execute() method and which
returns the ActionForward object.

4. In b/w the form field validations happens in form bean.

5. Depends upon the value of ActionForward object the view
is decided to display.(output)


4. Form bean is invoked for form field validation,

Is This Answer Correct ?    27 Yes 36 No

life cycle of struts? ..

Answer / purna

process of creating , invoking , destroying the servlet is
known as "life cycle of struts". here three methods are
involved

1.init() :

Total intialization part of servlet ll be there in this .

2.service() :

Actual Bussiness code ll be there in this method

3.destroy() :

just destroying the servlet .

Is This Answer Correct ?    24 Yes 117 No

Post New Answer

More Struts Interview Questions

State an example of struts configuration file as an action parameter for action servlet.

0 Answers  


How is token generated?

0 Answers  


How client side validation is enabled on a jsp form?

0 Answers  


how can u handle run time exceptions in struts and jsp plz explain briefly not single word answer?

2 Answers   TCS,


what is purpose cvs and vss in eclipse?

2 Answers  


How can we group related actions in one group in Struts?

0 Answers  


What are the steps used to setup dispatch action?

0 Answers  


What is the purpose of @emailvalidator?

0 Answers  


what is meant by Struts Validator Framework?

0 Answers   Cap Gemini,


How to display validation errors on jsp page?

0 Answers  


What are the ways in which duplicate form submission can occur?

0 Answers  


What are the various struts tag libraries?

0 Answers  


Categories