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 / ram-sd softech

1. When we start a web application based on struts the web
container creates a
servlet object based on
2. The web container creates the request and response
objects.
3. The web container calls the service method of Action
Servlet by passing the request and the response objects.
4. The Code of Action Servlet checks the struts-
config.xml with path /action at action mappings tag we
discussed how is that as earlier (page-8). Now if it is
there then it creates the ActionOne Object then after it
calls the execute method of ActionOne class.
5. After that it forwards to jsp.If any problem eraises
it shows Exception.
6. After that the Web container will start the execution
of .jsp as we discussed in JSP’s.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Custom Type Converter in Struts2?

1100


How you will enable front-end validation based on the xml in validation.xml?

1092


What is struts 2 framework in java?

1043


How is the mvc design pattern used in struts framework?

959


What is the purpose of @createifnull annotation annotation?

1043


Describe the basic steps used to create a tiles application?

1076


What types of validations are available in xml based validation in struts2?

1061


What is the default suffix for struts2 action uri ?

972


What is struts and springs in java?

1054


What are the aware interfaces in struts2?

1015


What configurations are stored in struts configuration file ?

999


How is token generated?

1029


What is the purpose of execute method of action class?

987


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

1013


What is the purpose of @action annotation?

1027