Is JSP Thread Safe ???? How To make JSP thrad safe ?????
Answer Posted / ankur
BY DEFAULT THE JSP PAGE IS NOT SAFE FROM THREAD . IF YOU WANT TO MAKE SAFE THE JSP PAGE FROM THREAD YOU CAN USE THE STATEMENT
<% page isThreadSafe="false"%> USE BEFORE THE <HEAD>
:- THE JSP BY DEFULT VALUE IS
<%@ page isThreadSafe="true"%> THAT MEAN YOUR JSP PAGE IS NOT THREAD SAFE ...
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What are the supporting protocol by HttpServlet ?
What is the difference between the http servlet and generic servlet?
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?
Why are servlets used?
Explain the differences between jsp and servlet.
What is a web container and what is its responsibility?
What are the steps that are involved in using the httpservlet class?
What is the importance of init() method in Servlet ?
What are the different types of servlets?
Can a jsp be called using a servlet?
What is url encoding and url decoding
What are the life-cycle methods for a servlet?
Can we fetch the attributes related to a servlet on a different servlet?
Explain the lifecycle of a servlet?
What are the benefits of using servlet over cgi?