what is the purpose of action servlet and action?

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


Please Help Members By Posting Answers For Below Questions

What are the benefits of Struts framework?

539


What is ValueStack and OGNL?

545


Which class is the Front Controller in Struts2?

520


In which method of action class the business logic is executed?

523


What are pull and push mvc architecture and which architecture does struts2 follow?

485






What is the struts in java?

487


What is controller in struts ?

514


In how many ways duplicate form submission can occurs?

541


What is the use of forwardaction?

527


What do you mean by dynaactionform?

521


What are the bundled validators?

566


What is xml based validation in struts2?

535


What is declarative exception handling in struts?

540


What are the steps used to setup dispatch action?

476


How is declarative handling of exceptions done in struts ?

458