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

Which interceptor is responsible for file upload support?

1082


What is the purpose of @typeconversion annotation annotation?

1022


What is value stack?

1099


What are the applications of struts?

1003


Which configuration file is used for storing jsp configuration information in struts?

1061


How we can controlled duplicate form submission in struts?

989


How many struts config file in a struts application?

976


What are different ways to create Action classes in Struts2?

1153


How the flow of various requests happens in struts application?

1047


What is execute method in struts?

990


Why we use struts in java?

980


How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?

1119


What is actioninvocation?

995


How action-mapping tag is used for request forwarding in struts configuration file?

1011


How to build struts application in eclipse?

1047