Answer Posted / nagaraja thummala
When the client send a request to container the container
will look for the ActionServlet, ActionServet will acting
like a controller,the configuration is their in the
web.xml, base on the web.xml ActionServlet will be
instatiated and initilized, after that ActionServlet will
take a cliend request and bipass the request to Request
processor, Request processor will find the struts-
config.xml and read the information about different modules
ActionServelet will call the Request processor process()
method. Request processor consists of chain of methods,
based on that it will create object for ActionForm and
validate the form fields and if validations are success
means it will create an object for Action class and call
the execute() and from the execute() it will commmunicate
with DAO and send the result page to view layer...
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can we have multiple struts config files in a single web app?
What is the purpose of @result annotation?
Explain the difference between dispatchaction and lookupdispatchaction in struts?
What is the purpose of @conversionerrorfieldvalidator annotation?
Is Struts Framework part of J2EE?
What is the purpose of @element annotation annotation?
What does the term struts mean?
How can forward action be used to restrict a strut application to mvc?
What is the difference between struts1 and struts2?
What do you mean by a custom tag?
What is the purpose of form-be tag in struct-config.xml?
What is actioninvocation?
How to get data from the velocity page in a action class?
What is the purpose of @after?
What is action chaining ?