Why actionservlet is singleton in struts?



Why actionservlet is singleton in struts?..

Answer / Udit Jain

ActionServlet is singleton in Struts because it manages all instances of Action classes and coordinates their interaction with the servlet container. Having only one instance ensures that there are no conflicts or inconsistencies among different requests.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Struts Interview Questions

can we change the location of struts-config.xml file?

2 Answers   TCS,


What's mvc pattern ?

1 Answers  


why do we typecast ActionForm into our plain java bean class in Action class? What is the reason?

4 Answers  


Where can I get a copy of struts?

1 Answers  


how to get the last 10 elements using logic:iterate in struts with hiernate from database.

1 Answers   Wipro,


What are the important methods of actionform?

1 Answers  


What is struts? Explain

1 Answers  


What is the purpose of @doublerangefieldvalidator?

1 Answers  


What do you mean by inner class and anonymous class?

1 Answers  


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

1 Answers  


Why do the struts tags provide for so little formatting?

1 Answers  


How can we display all validation errors to user on jsp page?

1 Answers  


Categories