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 do you mean by singlethreadmodel interface?
Why the concept of single thread model interface is used?
Explain the war file?
In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify
How do you design microservices?
What is load-on-startup in servlet?
What is a server side include (ssi)
What methodology can be followed to store more number of objects in a remote server?
What are the differences between the servletconfig interface and the servletcontext interface?
Write a command to get actual path of a servlet to the server?
Define servlet mapping?
Difference between doget and dopost?
How the JSP file will be executed on the Server side?
What is a java servlet?
How can I send user authentication information while making URL Connection?