JSP is by default thread safe or not? what is the meaning of
isThreadSafe="true" and isThreadSafe="false". Explain it?
Thanks,
Seenu
Answer Posted / bijay
<%@ page isThreadSafe="true" %> means you are specifying that the JSP page is thread-safe and hence, Container should create one Servlet instance and use it to handle mulitple client requests.
On the other hand, <%@ page isThreadSafe="false" %> means you are specifying that the JSP page is not thread-safe, so th Container should take necessary precaution. Container does this by queueing up requests and handling them one at a time.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is passing by reference in java?
What is the difference between numeric and integer?
What is stringbuffer in java?
How do you create an array in java?
how to split string in java?
Why should I use abstract class?
What is the main difference between java platform and other platforms?
What is the purpose of java?
What does percent mean in java?
Can we have 2 main methods in java class?
What is arraylist e?
How do you sort an array in java?
When object is created and destroyed?
What is the driver class?
What is entry set in java?