JSP is by default thread safe or not? what is the meaning of
isThreadSafe="true" and isThreadSafe="false". Explain it?
Thanks,
Seenu
Answer Posted / t.kumar
JSP can access by more than one user at the same time. We
can make JSP thread safe by using JSP attribute in directive
page tag. Thread safe JSP can take one request at one time
to processing. In thread safe JSP single instance of JSP
Servlet loaded. By default JSP is not thread safe, we have
to use isThreadSafe attribute of page. When isThreadSafe
attribute set as false, no multiple request send by JSP
engine to handle.
<%@ page isThreadSafe="false" %>
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Is there a case when finally will not execute?
Explain how can you debug the Java code?
What is meant by oops concept in java?
What is bigger kb or mb?
What is string value?
Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?
What are the advantages of compiled language?
How do you find the independent variable?
What are the four corner stones of oop?
What is the use of object and class classes?
Which methods are used during serialization and deserialization process?
What is variable and rules of variable?
What are static variables and functions?
What is the default value of local and global variables?
Is oracle java 11 free?