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 difference in using Action interface and ActionSupport class for our action classes, which one you would prefer?
In how many ways duplicate form submission can occurs?
What is the purpose of @key annotation annotation?
What is the difference between struts and spring? Explain
Is struts action class singleton?
How you will enable front-end validation based on the xml in validation.xml?
What are the some useful annotations introduced in struts2?
What are the struts2 error message keys that can come during file uploading process?
What is the role of a handler in mvc based applications?
Why are frameworks used?
What are the major differences between html tags and strut specific html tags?
What is the purpose of @validations annotation?
What is execute method in struts?
What does validation interceptor?
What are the advantages of spring mvc over struts mvc?