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

Explain integrate log4j in struts2 application?

953


Name some of the features of struts2?

975


When should be opt for struts framework?

976


What is apache struts framework?

890


Can I have html form property without associated getter and setter formbean methods?

956


What do you mean by tiles in struts?

986


What is the purpose of @doublerangefieldvalidator annotation?

978


What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?

960


Briefly tell the two kinds of form beans.

918


What is ognl?

1056


What are inner class and anonymous class?

945


What is the purpose of dispatcher result type?

913


What is the use of struts?

914


What are the main classes which are used in struts application?

924


What are disadvantages of Struts?

969