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 Differences Between Collection and Collections in Ja ...

Why ListIterator Has add Method But Iterator Does Not Have in Jav ...

Why Did Oracle Release a New Version of Java Like Java 8 ?

Replacing Hashtable With ConcurrentHashMap in Java

When Do You Use Exception or Error in Java ?