Download Android App in your Android Device from Google Play Store
- Search for "Withoutbook Practice Exam Test" in Mobile/Tablet Play Store
Practice InterviewNew Search by Name or Email

Exams Attended

Make Homepage

Bookmark this page

Subscribe Email Address

Struts Interview Questions and Answers

Ques. What is an Action Class?
Ans. The ?Action Class? is part of the ?Model? and is a wrapper around the business logic.

The purpose of the ?Action Class? is to translate the HttpServletRequest to the business logic.

To use the ?Action?, we need to subclass and overwrite the execute() method.

All the database and business processing is done in the ?Action? class.

It is advisable to perform all the database related work in the ?Action? class.

The ActionServlet (command) passes the parameterized class to ActionForm using the execute() method.

The return type of the execute method is ActionForward which is used by the Struts Framework to forward the request to the file according to the value of the returned ActionForward object.
Is it helpful? Yes No

Most helpful rated by users:

©2020 WithoutBook