Is JSP Thread Safe ???? How To make JSP thrad safe ?????
Answer Posted / samba
By default JSP pages are not Thread safe.if we want to make
jsp page as thread sefe then the value of isThreadSafe
attribute is set to false, then the JSP container sends
client requests only one at a time to the JSP page which
makes the jsp page safe.
If isThreadSafe="true" then jsp is not a thread safe.this is
the default value.
If isThreadSafe="false" then jsp is a thread safe
Syntax:
<%@ page isThreadSafe="true|false" %>
| Is This Answer Correct ? | 30 Yes | 7 No |
Post New Answer View All Answers
What is url encoding and url decoding
What are the objects involved when a servlet receives a call from client?
What mechanisms are used by a Servlet Container to maintain session information?
What is the use of servlet context?
Why session tracking is needed?
What is the inter-servlet communication?
What do you mean by interservlet communication?
Which application server is best for java?
What do you mean by annotations in servlet?
Differentiate between the print writer and servlet output stream?
Explain the architechure of a servlet?
What exactly is a servlet?
What are the difference between session and cookies in servlet? Explain
What is the advantage of Servlets when compared with other server side technologies?
Describe the phases of servlet lifecycle?