Answer Posted / vipin gupta trainer
isThreadSafe sattes that wheather jsp engine can pass
multiple req simultaneously to the page . a value set to
true(default) indicates that a new thread is started and
therfore request are handled simultaneously . ise the jsp
engine can send multiple concurent lient request to the jsp
page . value set to false indicates that jsp engine sends
lient request one at a time to the jsp page .
It is recommended to always use the value tue for the is
threadsafe page directive and handled multithread issue
by avoiding jsp declaration and ensures that all object
used by the page are thread safe.
Syntex
<% page isthreadSafe="true"%>
| Is This Answer Correct ? | 10 Yes | 5 No |
Post New Answer View All Answers
How will you use jsp el in order to get the http method name?
What is the scope of response object?
How can I enable session tracking for jsp pages if the browser has disabled cookies?
Why do we use jsp?
How to run java program in jsp page?
What are jsp implicit objects?
Can we override the jspinit(), _jspservice() and jspdestroy() methods?
What is the use of session management?
What is context in jsp?
Why does jcomponent have add() and remove() methods but the component does not?
Why jsp is better over static html also explain lifecycle of a jsp?
How to disable scripting?
What is difference between include directive and jsp:include action?
What is out println in jsp?
What is action tag in jsp?