is servlet,struts are threadsafe or not.please telme correct
answer

Answer Posted / yadav1776

Yes, servlet and struts are thread safe.
Only one instance of servlet is created by servlet
container at startup.
Same is the case with struts, only one instance is created
of action servlet (considering struts 1.x).

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is synchronization?

575


Explain the difference between object state and behavior?

570


How would you detect a keypress in a jcombobox?

678


Can you control when passivation occurs?

598


What is clustering? What are the different algorithms used for clustering?

580






Can I use multiple html form elements with the same name?

581


When a thread blocks on i/o, what state does it enter?

576


Describe activation process?

2068


Is the session factory thread safe?

678


Which characters may be used as the second character of an identifier, but not as the first character of an identifier?

550


What is the difference between the ‘font’ and ‘fontmetrics’ class?

641


What are the different methods of identifying an object?

581


What is scalable, portability in the view of J2EE?

1879


What is glasgow?

586


Is the ternary operator written x : y ? Z or x ? Y : z ?

639