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
Define the life cycle of a servlets.
What is the difference between using getSession(true) and getSession(false) methods?
What is the process for chaining servlet?
Can you create a deadlock condition on a servlet?
What are the common methods that are included in the http servlet class?
What are the objects involved when a servlet receives a call from client?
Is tomcat a servlet container?
What is servlet in web technology?
What are the annotations used in servlet 3?
How to get the IP address of client in servlet?
What is preinitialization of a servlet?
What is servlet lazy loading?
Difference between doget and dopost?
Tell the new features added in servletrequest interface i.e. Servlet 2.4
What are the types of an http request?