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
What is output buffer?
What is a parameter example?
What does singleton class mean?
What are the parts of methodology?
What are different types of states exist for a thread?
Which arithmetic operations can result in the throwing of an arithmeticexception?
Can we overload the main() method?
What is mean by encoding?
What are kinds of processors?
What is a parameter in java?
What is a parameter in matrices?
What is hashmap in java?
Is it possible to cast an int value into a byte variable? What would happen if the value of int is larger than byte?
What is var keyword ?
What is difference between call by value and call by reference?