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 a variable simple definition?
How many types of the indexof method are there for strings?
Where is const variable stored?
Is java an open source?
Is singleton class immutable?
Write a program to check for a prime number in java?
What is the exact difference in between Unicast and Multicast object?
Whats the difference between notify() and notifyall()?
What is the meaning of variables in research?
How do you convert bytes to character in java?
Objects or references which of them gets garbage collected?
What is parseint?
Are primitives objects?
What is nested loop? What is dangling else condition in it?
What is data type example?