How Will You Implement a Thread Safe JSP Page ?

We can use SingleThreadModel Interface to implement a thread safe JSP page.

We can also add <%@page isThreadSafe=”false” %> directive in JSP page to make it thread safe.



You May Interest

What are the Different Types of Events Provided by Spring Framewo ...

What are the Atomic Operations in Java ?

What are the Situations in Which You Choose HashSet or TreeSet in ...

What is the Purpose of Native Method in Java ?

How Can You Make an Object Eligible for Garbage Collection in Jav ...