What is Struts Flow?

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


Please Help Members By Posting Answers For Below Questions

What are the custom tags?

523


In struts, how can we access java beans and their properties?

549


What is the purpose of @results annotation?

708


How does interceptor work in struts2?

499


What do you mean by ognl?

547






What is the purpose of @before?

543


Which technologies can be used at view layer in struts?

639


What is the purpose of @result?

573


What is declarative exception handling in struts?

546


What is the purpose of @stringlengthfieldvalidator annotation?

592


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

604


Does apache struts run on windows?

526


Name some useful annotations introduced in Struts2?

526


What is purpose of execandwait interceptor?

573


What are the reasons for an error message not being displayed while developing struts application?

544