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 '@keyproperty'?

1025


What applications use apache struts?

930


what is meant by Struts Validator Framework?

998


How struts control data flow?

1096


What is strut web xml?

935


What are the struts2 error message keys that can come during file uploading process?

1066


What is the apache struts vulnerability?

940


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

932


What configuration files are used in struts?

958


What is http forward?

970


Explain the components of struts?

963


How to use dispatchaction?

1035


What is struts in j2ee?

934


What is the default location of result pages and how can we change it?

1003


How to get data from the velocity page in a action class?

953