dcsimg

How can I make a JSP page implement the SingleThreadedModel interface?

Luigi Viggiano

You have to add isThreadSafe="false" to your page directive as following:


<%@ page isThreadSafe="false" %> 

By default isThreadSafe is set to true, that means that there is no problem accessing to the JSP concurrently.