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
Why java is used everywhere?
Can a class extends itself in java?
What are advantages and disadvantages of OOPs?
What is oop in java?
What are the files generated after using IDL to java compiler?
When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?
Is java pass by value or pass by reference?
What is the difference between Grid and Gridbaglayout?
What are java annotations?
What is a char in java?
What are the high-level thread states in java programming?
What are the differences between string and stringbuffer?
What is the purpose of stub and skeleton?
What happens if an exception is throws from an object's constructor?
What is executor memory?