JSP is by default thread safe or not? what is the meaning of
isThreadSafe="true" and isThreadSafe="false". Explain it?
Thanks,
Seenu
Answer Posted / srinu
JSP is by default its not a thread safe suppose we prevent
the JSP page from thread safe then
if threadsafe="true" it means only one thread can access an
object at a time.it handle only client request at time.it
should implements singleThreaded model interface.
isThreadsafe = false implies, jsp is not thread safe and
so it can handle multiple client requests.i.e means number
of clients access the only object
Is This Answer Correct ? | 6 Yes | 16 No |
Post New Answer View All Answers
How finally used under exception handling?
What is the latest version of java?
How would you dynamically allocate memory to an array?
Can we serialize arraylist in java?
What is the difference between serializable and externalizable interfaces?
Is java based on c?
What languages are pass by reference?
How do you create a null object?
Why singleton is not thread safe?
Explain working of call by reference function invoking.
What is bitwise complement?
What are the differences between graph and tree?
What does java edition mean?
Can we change the value of static variable?
What is the use of beaninfo?