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

Do I have to credit struts on my own website?

942


How to display validation errors on jsp page?

971


What are the two types of validations supported by validator framework?

975


Which components are available using actioncontext map?

1127


What is the use of Struts.xml configuration file?

885


Explain how to work with error tags?

968


What steps are required to for an application migration from Struts1 to Struts2?

986


What is ognl?

1059


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

948


If the framework doesn’t do what I want, can I request that a feature be added?

896


What are the conditions for actionform to work correctly?

968


How is a lookup dispatch action created?

961


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

1002


What is the significance of logic tags in Struts?

930


What do you mean by actionform?

932