HomePage     |    Contact Us    |   Contribute     |  Forums     |  Blog

 

 

Struts Interview & Certification Questions and Answers

Is Struts threadsafe?

Yes

1. Response is handled by light-weight Action object; rather than individual servlet.
2. Servlet instantiates Action class once and allows other requests to be threaded through the original object.
3. This conserves resources and provides best throughput.

What are the various Struts Tag libraries?

Struts provide many tag libraries to ease the development of web applications. These tag libraries are:

* Bean tag library - Tags for accessing JavaBeans and their properties.
* HTML tag library - Tags to output standard HTML, including forms, text boxes, checkboxes, radio buttons etc..
* Logic tag library - Tags for generating conditional output, iteration capabilities and flow management
* Tiles or Template tag library - For the application using tiles
* Nested tag library - For using the nested beans in the application

What is ActionMapping?

1. Associates an action name with an action.
2. It can contain reference to a form bean that the action can use.
3. Defines a list of local forwards that are visible only to this action.

GO TO Next Page