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 struts2 in java?
What is the purpose of execute() method?
What is the purpose of @createifnull annotation annotation?
What are different ways to create Action classes in Struts2?
What is apache struts vulnerability?
What is the purpose of @result?
How action-mapping tag is used for request forwarding in struts configuration file?
What is the use of token interceptor in Struts2?
what is meant by Struts Validator Framework?
How can link tag’s action attribute be used?
What are struts in java?
List the important attribute and elements of action mapping under struts.
What is the use of interceptor?
How you will display validation fail errors on jsp page?
What are the steps required for setting up validator framework in struts?