JSP is by default thread safe or not? what is the meaning of
isThreadSafe="true" and isThreadSafe="false". Explain it?
Thanks,
Seenu
Answer Posted / nehru
Accroding to java documention, default value for jsp page
attribute 'isThreadsafe', is set to true, which means jsp
can handle multiple client requests and does not implement
SingleThreadModel interface.
Well, thinking gramatically, meaning of 'isThreadsafe' is to
clarify or to assert whether jsp is threadsafe or not.
So it makes sense when you put it's value to true ie.
isThreadsafe = true, meaning jsp is now thread safe and so
should handle one request at a time ie. it should implement
SingleThreadModel interface.
And isThreadsafe = false implies, jsp is not thread safe and
so it can handle multiple client requests.
| Is This Answer Correct ? | 20 Yes | 16 No |
Post New Answer View All Answers
how to create multithreaded program? : Java thread
EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.
What is the difference between call by reference and call by pointer?
What is the difference between I ++ and ++ I in java?
What one should take care of, while serializing the object?
Explain list interface?
What is the properties class in java programming?
What is meant by binding in rmi?
What is the concatenation operator in java?
Explain how hashmap works?
In which language java is written?
Can a function return a function?
What is string pooling concept?
What is dynamic array in java?
How is string stored in java?