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 are the features of struts?

986


Describe validate() and reset() methods.

1042


What are the cons of struts 2?

967


What is interceptor in Struts2?

928


Explain about struts relation to html tags?

922


What does modeldriven interceptor?

1037


How can we upload files in Struts2 application?

990


What is an interceptor stack?

1002


What is the purpose of @results annotation?

1229


How can we handle exceptions thrown by application in Struts2?

906


What are best practices to follow while developing Struts2 application?

979


What does it cost to replace struts?

929


What is the procedure of operation of a form tag?

928


Who wrote struts?

930


What are the core classes of the struts framework?

912