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 are the pros of struts 2?
What is the purpose of @action annotation?
What is the purpose of @key?
Which file is used by controller to get mapping information for request routing?
What is the purpose of @stringlengthfieldvalidator annotation?
What is the purpose of struct-config.xml in struct2?
What is the procedure of operation of a form tag?
What are the struts2 configuration properties that control file uploading process?
What is actionmapping?
Does struts include its own unit tests?
How do you create message resource?
Can you give an overview of how a struts application flows?
What is jakarta struts framework?
How the flow of various requests happens in struts application?
How do I access token?