struts is thread safe or not ?give me answer as early as
possible

Answers were Sorted based on User's Feedback



struts is thread safe or not ?give me answer as early as possible..

Answer / coolsat

The very basic applies to every java class, when it comes
to being thread-safe.

Local variables are thread-safe.

In Struts, the action classes are not thread-safe.

Is This Answer Correct ?    9 Yes 1 No

struts is thread safe or not ?give me answer as early as possible..

Answer / chowdary

struts is not thread safe by default...........

Is This Answer Correct ?    3 Yes 0 No

struts is thread safe or not ?give me answer as early as possible..

Answer / guest

no,not a thread safe

Is This Answer Correct ?    4 Yes 2 No

struts is thread safe or not ?give me answer as early as possible..

Answer / kumar

it is not Thread safe.
we want to put code in between

synchrorize{
............
}

it is block level synchronization.

Is This Answer Correct ?    1 Yes 0 No

struts is thread safe or not ?give me answer as early as possible..

Answer / ravish sharma

We can't say that any framework is thread safe or not?.
Because thread safty is depends on how many threads are accessing a single object. On this basis we can say that thread safe or not....So We cant say that any framework is thread safe or not?  so its depend upto you how you are implimenting in your project.

Thanks
Regards Ravish Sharma

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Struts Interview Questions

we have two applications A1 & A2 both are accesing the same databse table employee at the same time how we will manage this so that both application can get the correct no of emloyee while A1 is inserting a employee at the same time while other applicatuion is getting the empployee list.

5 Answers   Accel, TCS,


What is an interceptor stack?

0 Answers  


What is the purpose of @emailvalidator annotation?

0 Answers  


What is the need of struts?

0 Answers  


is it possible to see actionservlet in my system. if yes how

5 Answers  






What is actionservlet?

0 Answers  


In web.xml file instead of *.do can i write *.ibm, Specify with example

13 Answers   IBM,


What kind of mvc is struts 2?

0 Answers  


Explain about token feature in struts?

0 Answers   Tech Mahindra,


How to handle exceptions in structs?

0 Answers  


what are the disadvantages of MVC architecture

3 Answers   INDUS,


What happens when Two users requests for same action class? How the threads are controlled?

4 Answers  


Categories