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 thread safe?

Answers were Sorted based on User's Feedback



Is struts thread safe?..

Answer / eugene gruzin

Struts is not only thread safe, it is thread dependant.
Struts instansiate each Action only once and allow all
other request to be handled by the same action

Is This Answer Correct ?    23 Yes 8 No

Is struts thread safe?..

Answer / javablossom

struts 1.x is threadsafe and struts 2.x is not thread safe
Reference:
In Struts1, Action resources must be thread-safe or
synchronized. So Actions are singletons and thread-safe,
there should only be one instance of a class to handle all
requests for that Action. The singleton strategy places
restrictions on what can be done with Struts1 Actions and
requires extra care to develop. However in case of Struts
2, Action objects are instantiated for each request, so
there are no thread-safety issues.

Is This Answer Correct ?    10 Yes 2 No

Is struts thread safe?..

Answer / vijay chaudhary

No,
Struts is not thread safe

Is This Answer Correct ?    6 Yes 13 No

Is struts thread safe?..

Answer / naresh

Struts frame work is thread safe onle. we can make a struts
as non thread safe using servlet page as Single thread
model,and jsp using the page attribute isThreadSafe.

Is This Answer Correct ?    8 Yes 18 No

Post New Answer

More Struts Interview Questions

What is the differnce between 2-tier architecture and 3- tier architecture in java?

3 Answers  


How many instances of servlet usually run in a struts application ?

0 Answers  


if u r using eclipse tool how can u debbaging u r application? plz explain with sample code

3 Answers   IBM, Tech Mahindra,


How Struts will follow the MVC?

6 Answers   HCL,


List some bundled validators?

0 Answers  


tell me struts flow ?

5 Answers   BA Continnum Solutions, Exira, Fidelity, iGate,


how to connect from struts to database through hibernet and where u can modify the class

0 Answers   Polaris,


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

0 Answers  


What are the steps of struts installation?

0 Answers  


how many methods are there in RequestPrccesor class?

2 Answers   Infosys,


What are the core classes of the struts framework?

0 Answers  


What’s the utilization of resource bundle properties file in struts validation structure?

0 Answers  


Categories