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 do you delete a cookie within a jsp?
What is jsp taglib?
How can you avoid scriptlet code in jsp?
What is the difference between java servlet and jsp?
What is jstl?
Explain the various scope values for tag.
Explain client-side and server-side validation.
What is jsp life cycle?
What are the different types scripting elements in jsp?
Is it possible to share an httpsession between a jsp and ejb? What happens when I change a value in the httpsession from inside an ejb?
Why does _jspService() start with an ‘_’ but other lifecycle methods do not?
How can I override the jspinit() method within a jsp page?
What is the page directive is used to prevent a jsp page from automatically creating a session?
Which jsp life cycle is in correct order?
What is a session in web?