Answer Posted / cokekrish
The class org.apache.struts.action.ActionServlet is called
ActionServlet.This class plays the role of controller. All
the requests to the server goes thorugh the controller. It
is responsible for handling all the requests.
Action is part of Model. The purupose of Actionclass is to
translate the HttpServletRequest to the business logic. To
use Action we need to subclass and overwrite the execute()
method. all database and business processing are done here.
Is This Answer Correct ? | 17 Yes | 5 No |
Post New Answer View All Answers
What is the purpose of @doublerangefieldvalidator?
What are action errors and error and what are the consequences they impose?
Which configuration file is used for storing jsp configuration information in struts?
How you will display validation fail errors on jsp page?
What is the purpose of @result annotation?
Can you explain value stack?
How interceptor works in struts 2?
Why struts 1 classes are not thread safe whereas struts 2 classes are thread safe?
What are the Core classes of Struts Framework?
Explain how can we upload files in struts2 application?
What is declarative exception handling in struts?
Explain the core end goal while using java struts?
Can we have multiple struts config files in a single web app?
What is the difference between filters and interceptors ?
What is the difference in using Action interface and ActionSupport class for our action classes, which one you would prefer?