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
What is the purpose of form-beans tag in struct-config.xml?
How is token generated?
How is a lookup dispatch action created?
What are the components of struts framework?
What do you mean by tiles in struts?
Explain struts.devmode?
how to connect from struts to database through hibernet and where u can modify the class
What is apache struts used for?
How an actionform bean is created?
What is the role of action class?
Describe validate() and reset() methods.
What is the purpose of @conversion annotation annotation?
How tag libraries are defined in Struts?
What is the use of namespace in action mapping in Struts2?
Are interceptors thread safe?