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
How do you find out what client machine is making a request to your servlet
When Servlet is unloaded?
What are the disadvantages of storing session state in cookies?
Explain the difference between jsp and servlet?
How does tomcat servlet container work?
What are different ways for servlet authentication?
How can you run a servlet program?
What do you mean by filter in servlet?
What is life cycle of Servlet?
What do you mean by mime type?
How does Cookies work in Servlets?
What are some disadvantages of storing session state in cookies?
What are the kinds of http requests?
What do you mean by session tracking and also explain its techniques?
What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?