Answer Posted / 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 |
Post New Answer View All Answers
what are the advantages of JTA over JTS?
What is aop(assepct oriented programing)?
cud u help me ... i am struggling with this question... to find all the subsets of a given set for ex.... a,,b,c shud give all the subsets.... i gt the program in c bt nt able to get it in java..... help needed ..
Is the infobus client side only?
how to use debug in my elipse to solve problems that exist in my project
What value does readline() return when it has reached the end of a file?
What are various types of class loaders used by jvm?
What are the different algorithms used for clustering?
What is the relation between the infobus and rmi?
What are JTA/JTS and how they used by client?
Should synchronization primitives be used on bean methods?
A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions
what is meant by JRMP?
What is re-entrant. Is session beans reentrant. Is entity beans reentrant?
What is the infobus?