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 struts config file can be created in struts?
How can we display validation errors on jsp page?
Explain about tiles?
What is interceptor in Struts2?
What are the steps of struts installation?
What are the steps involved in creating a strut application?
What are the struts2 error message keys that can come during file uploading process?
What is the purpose of action-mappings tag in struct-config.xml?
What is the purpose of @customvalidator annotation?
What is the purpose of '@keyproperty'?
What are the struts2 configuration properties that control file uploading process?
Explain design patterns which is used in struts?
Describe the two types of formbeans.
What are the features of struts 2?
Can we have multiple struts config files in a single web app?