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...

Is Struts Action class Thread Safe?

Answer Posted / shakthi kumar

Action class is not thread safe, multiple threads will be
created for multiple requests to execute method, there is
no point in creating instance for each request. Also,
Action class is not a servlet, it just acts as an
intermediate between your business delegator (Action
Servlet) and your business layer only if designed properly.

Is This Answer Correct ?    22 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What's the purpose of execute method of action class?

987


What is Custom Type Converter in Struts2?

1134


What is front controller in struts2?

1148


What are action errors?

1034


Can we handle exceptions in Struts programmatically?

1008


What are interceptors in struts 2?

1062


What is the purpose of @before?

1039


What are the action classes in struts?

1056


What does apache struts do?

951


What’s the difference between struts and turbine? What’s the difference between struts and espresso?

1037


What configuration changes are required to use resource files in Struts?

1091


Which design pattern is implemented by Struts2 interceptors?

1060


Why use struts framework in java?

1166


Explain struts.devmode?

1010


What does it cost to replace struts?

1021