Is it possible to create mulitple instance of one Action
Class in struts?

Answer Posted / sandeep

Yes..it is possible to create n no of instances of action
class...just we have to mention it in the struts-config.xml
..i.e. we need to provide different action path (in action
mapping) for the instances.

Is This Answer Correct ?    4 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are pull and push mvc architecture and which architecture does struts2 follow?

506


What do you mean by actionform?

580


What is the purpose of @element?

581


Why are frameworks used?

533


Which library is provided by struts for form elements like check boxes, text boxes etc?

507






What are the benefits of Struts framework?

560


Why use spring, if you are already using struts?

557


Explain about tiles?

574


What is the difference between requestaware and servletrequestaware interface?

579


What is interceptor in Struts2?

566


How many struts config file in a struts application?

519


Explain design patterns which is used in struts?

535


How can you create your custom interceptor in struts 2?

537


How action-mapping tag is used for request forwarding in struts configuration file?

581


What are the core components of a struct2 based application?

555