Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

When wil use singleton class in Struts

Answer Posted / harikrishna rapuri

Suppose if u give more 300 requests at a time struts based
webapplication,in that time some servers(tomcat..etc)
creates another ActionServlet object .This is violation of
the Servlet Specification(Servlet behavior is single
instance and multi therading).So that struts frame work
designers use Actionservlet as a Sigleton class.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of @results?

1002


How duplicate form submission can be controlled in struts?

1120


What is front controller in struts2?

1086


What is validate() and reset() functions?

1043


What are Struts2 core components?

1007


Explain about the process of functioning of the struts program?

1040


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

938


What applications use apache struts?

942


What are the classes used as part of struts framework ?

960


Do you need an alignment after replacing struts?

940


What is the purpose of action tag in struts.xml?

1023


What is the difference in using Action interface and ActionSupport class for our action classes, which one you would prefer?

1184


What are the benefits of Interceptors in Struts2?

1179


What is the use of form bean in struts?

914


How do I install struts?

1020