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
How to perform merge sort in java?
How many types of interfaces are there?
Explain covariant method overriding in java.
What do you mean by JVM?
How many tetrahedral voids are there in bcc?
What does this () mean in constructor chaining concept?
Can the garbage collection be forced by any means?
What are basic data types?
how come we know the object is no more used in the class?
What is off heap memory?
How will you communicate between two applets?
which class is the wait() method defined in? : Java thread
Explain yield() method in thread class ?
What is the difference between yielding and sleeping?
How do you reverse a list?