how to implement singletun design patteren in struts?

Answer Posted / haneef

Hi guys..he is asking how to implement singleton in struts.

see if your using ActionServlet means, then we will
automatically uses singleton.

because, only one ActionServlet provides services to all the
customers.

Is This Answer Correct ?    19 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is actioninvocation?

544


What is the forward action utilized for?

556


Can explain about the validations and in your project where did u used the validations?

6413


What should be the name of xml file used for validation in struts?

543


How is the action mapping specified?

556






What is the purpose of @expressionvalidator annotation?

595


When should be opt for struts framework?

578


What is interceptor in Struts2?

570


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

513


Are struts thread safe?

560


what is meant by Struts Validator Framework?

570


Is Struts Framework part of J2EE?

623


Explain the difference between jakarta struts and apache struts?

531


What is the naming convention for a resource bundle file in struts2?

541


Which configuration files are used in struts?

528