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 is interceptor struts2?

537


How client side validation is enabled on a jsp form?

592


Explain integrate log4j in struts2 application?

570


What are different ways to create Action classes in Struts2?

597


What is the use of forwardaction?

550






What does modeldriven interceptor?

593


Why is action servlet a singleton in struts?

595


Are struts still used?

520


What is struts in java with example?

514


What is ValueStack and OGNL?

573


What are action errors?

571


What is the purpose of @key annotation annotation?

603


Which design pattern is implemented by Struts2 interceptors?

556


What is the purpose of @emailvalidator?

563


Explain the core end goal while using java struts?

528