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
How many Action classes have been used in your project? Differences between struts 1.1 and 1.3?
Which components are available using actioncontext map?
What is the flow of requests in struts based applications?
Does struts include its own unit tests?
What is life cycle of an interceptor?
How we can configured action mapping in struts?
What is struts in j2ee?
What is the purpose of @element annotation annotation?
What is the purpose of @before annotation?
What is the purpose of @results?
What is interceptor struts2?
How exceptions are handled in struts application?
Describe the mvc on struts?
What are pull and push mvc architecture and which architecture does struts2 follow?
What is the purpose of action tag in struts.xml?