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

The execute() is a method of struts Action class. It is used for business logic execution of Action class.
public ActionForward execute(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception ;
{
// business logic.
}
1 : Perform the processing required to deal with this request
2 : Update the server-side objects (Scope variables) that will be used to create the next page of the user interface
3 : Return an appropriate ActionForward object.
Thanks.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.