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
Where and how can you use a private constructor?
What is string data?
Why pointers are not used in java?
Why does abstract class have constructor?
Is space a char?
What is class forname used for?
Can we convert stringbuilder to string in java?
Is string is a data type in java?
What are class types in java?
What language is an assembler written in?
Does java vector allow null?
What is a method signature java?
When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?
What are untrusted applets?
How do you convert int to char in java?