how to implement singletun design patteren in struts?

Answer Posted / guest

Just we develop a class, in that we write a private
constructor. in that we define one method that returns the
object.

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which class is the Front Controller in Struts2?

622


What is the purpose of @after?

663


What is the need of struts?

649


Do you need an alignment after replacing struts?

624


Why is action servlet a singleton in struts?

693






What are the advantages of spring mvc over struts mvc?

579


What types of validations are available in xml based validation in struts2?

649


What are the pros of struts 2?

649


What are the steps used to setup dispatch action?

595


What is the purpose of @requiredstringvalidator?

640


Can we handle exceptions in Struts programmatically?

595


What is ValueStack and OGNL?

648


How does one create an action in struts 2?

611


What is the purpose of @emailvalidator annotation?

583


What is the purpose of @conversion annotation annotation?

691