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
Why use a datasource when you can directly specify a connection details? (in a J2EE application)
What is the relationship between an event-listener interface and an event-adapter class?
Can I map more than one table in a cmp?
What is the difference between the session.update() method and the session.lock() method?
Do we need to override service() method
int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!
Name three component subclasses that support painting?
What is the purpose of the finally clause of a try-catch-finally statement?
Why a component architecture for the java platform?
What are the difference between RMI and CORBA?
Explain what is synchronization?
Explain phantom read?
Which containers use a border layout as their default layout?
Whats new with the stop(), suspend() and resume() methods in jdk 1.2?
Can I import same package/class twice? Will the jvm load the package twice at runtime?