Struts Interview Questions and Answers
1.What is Action Class?
An Action class in the struts application is used to handle the request.
The various Struts tag libraries are:
1.What is Action Class?
An Action class in the struts application is used to handle the request.
- It acts as interface or communication medium between the HTTP request coming to it and business logic used to develop the application.
- Action class consists of RequestProcessor which act as controller. This controller will choose the best action for each incoming request, generate the instance of that action and execute that action.
- This should be in thread-safe manner, because RequestProcessor uses the same instance for no. of requests at same time.
The various Struts tag libraries are:
- HTML Tags: used to create the struts input forms and GUI of web page.
- Bean Tags: used to access bean and their properties.
- Logic Tags: used to perform the logical operation like comparison
- Template Tags: used to changes the layout and view.
- Nested Tags: used to perform the nested functionality
- Tiles Tags: used to manages the tiles of the application
No comments:
Post a Comment