When wil use singleton class in Struts

Answer Posted / sekhar babu

No, It will create Instance of Action Class for each
request, internally it will use Single-ton Design pattern
for the ActionServlet.

In Action class we will actully write business logic, so
Action class is not SingleTon only ActionServlet is singleton

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about logic match tag?

563


What is action class?

579


Explain about the library tag?

595


What’s the difference between struts and turbine?

556


Why was reload removed from struts (since 1.1)?

540






Can you explain custom tag?

571


How can we handle exceptions thrown by application in Struts2?

534


Can we handle exceptions in Struts programmatically?

513


What is struts? Explain

538


in struts how to use hibernate with struts>

1825


Can a reducer dispatch an action?

499


What is declarative exception handling in struts?

554


what is ACID test for fresh engineers??what is the pattern??

2365


How properties of a form are validated in Struts?

563


What is the forward action utilized for?

550