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 is servlet instance?
If a servlet is not properly initialized, what exception may be thrown?
What is the disadvantage of cookies?
When servlet is loaded?
What is difference between GenericServlet and HttpServlet?
How do I use cookies to store session state on the client?
What do you mean by request dispatcher in servlet? Also explain its methods.
What is the servletconfig object?
How to get the actual path of servlet in server?
What is the difference between encodeRedirectUrl and encodeURL?
What is the default http method in the servlet?
What is the life cycle of a servlet?
How will you pass values from HTML page to the servlet?
What is the procedure of invoking different servlet in a different application?
Differentiate between the print writer and servlet output stream?