multiple instances for action class is it possible
Answer Posted / thirupathaiah
It is possible by making the action class as singletone but
the thing is it is not good aproach if we make it singleton
then while handling the multiple requests for each request
a seperate instance will be created, according to this
waste of memory and for each request action class life
cycle is defferent so do't go for making action as a
singleton
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Where can I get a copy of struts?
What is meant by custom tags?
What is the purpose of @doublerangefieldvalidator annotation?
Provide some important Struts2 constants that you have used?
What does the term struts mean?
What is the flow of requests in struts based applications?
What are the action classes in struts?
What is role of action class?
What is Struts2?
What are the differences between Struts1 and Struts2 or how Struts2 is better than Struts1?
What do you mean by a custom tag?
What do struts do?
What is role of actionservlet?
What is the purpose of @key annotation annotation?
Are interceptors and filters different?