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...


explain the flow of struts?

Answers were Sorted based on User's Feedback



explain the flow of struts?..

Answer / kumar s

a)Client makes a Http Request.
b)Every request has to go to the ActionServlet which
actually is the Front Controller of Struts.
c)ActionServlet calls the Request Processor for execution
of the request.
d)Request Processor reads the xml file (Struts-config.xml)
where the mappings have been provided for each and every
request and finds out the corresponding Action Class
mapping to that request.
(1)How the mappings are provided in Struts-Config.xml
file will be discussed under Configuring Recipe Module.
e)Before passing the control to the execute() method of the
Action Class, it instantiates the Form Bean associated with
that Action Class.
f)Once the Action Form/ Form Bean is instantiated, control
goes to execute() method of Action Class.
g)Action Class then call the Business Layers to fetch the
data requested by the client.
h)Once the data is fetched, it is populated in the Form
Bean and control goes back to Action Class.
i)And finally, Action Class throws the control to JSP page
where the data is rendered.
j)To render the data on JSP page, data is taken out of Form
Bean with the help of Struts Tags.
k)Struts provides us with various Tag Libraries which makes
the JSP page easy to create and maintain.
l)JSP Tags will be discussed later.

Is This Answer Correct ?    11 Yes 1 No

explain the flow of struts?..

Answer / pavankumar

Answer is correct,Need some explanation along with examples
for configuration xml and all.

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More Advanced Java Interview Questions

AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?

0 Answers  


difference between applicationserver and webserver

2 Answers   SolutionNET,


Why use POJO when I can use hashmap

0 Answers   Infotech,


difference of inheritance and interface

3 Answers  


Different between Struts and Spring? or Why use Spring, if you are already using Struts?

3 Answers   HP,


difference between HashMap, Hashset and hashTable?

2 Answers   HCL, Infotech,


How would you reatach detached objects to a session when the same object has already been loaded into the session?

0 Answers  


If your ui seems to freeze periodically, what might be a likely reason?

0 Answers  


Do I need to import javlang package any time? Why ?

0 Answers  


Why DOM Parser would take more Memory than SAX parser while they are parsing?

3 Answers   OnMobile,


can any one tell me how to learn good coding techniques

3 Answers  


What is meant by method chaining?

0 Answers  


Categories