In which method of Action class the business logic is executed?
Submitted by: AdministratorIn the execute() method of Action class the business logic is executed.
public ActionForward execute(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception ;
execute() method of Action class:
► Perform the processing required to deal with this request
► Update the server-side objects (Scope variables) that will be used to create the next page of the user interface
► Return an appropriate ActionForward object
Submitted by: Administrator
public ActionForward execute(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception ;
execute() method of Action class:
► Perform the processing required to deal with this request
► Update the server-side objects (Scope variables) that will be used to create the next page of the user interface
► Return an appropriate ActionForward object
Submitted by: Administrator
Read Online Struts Job Interview Questions And Answers
Top Struts Questions
| ☺ | How the exceptions are handled in struts? |
| ☺ | How to display validation errors on jsp page? |
| ☺ | How to use DispatchAction? |
| ☺ | What are the various Struts tag libraries? |
| ☺ | What is SwitchAction? |
Top Java Programming Language Categories
| ☺ | Core Java Interview Questions. |
| ☺ | Hibernate Interview Questions. |
| ☺ | Advanced Java Interview Questions. |
| ☺ | IBM WebSphere Interview Questions. |
| ☺ | Spring Framework Interview Questions. |
