adspace


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

What is the difference between filters and interceptors ?

1316


What do you know about validation plugin ?

1031


What are the contents on web.xml in struts application ?

1072


How is declarative handling of exceptions done in struts ?

1010


What is action chaining ?

1168