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

How to convert struts to spring mvc?

723


Which model components are supported by Struts?

784


Which interceptor is responsible for file upload support?

786


How can forward action be used to restrict a strut application to mvc?

721


What is the use of resourcebundle.properties file in Struts Validation framework?

792


Is struts 1 still supported?

678


Whats the difference between the default namespace and the root namespace?

714


What are the pros of struts 2?

727


What is container struts2?

730


What is includeaction?

747


Describe the mvc on struts?

709


Explain architecture of struts2?

799


How is token generated?

743


Lists the bundled validators in struts?

741


State the procedure for using forward attribute of link tag’s.

746