Singlethreadedservlet. This solution is very easy to do because of the marker singlethreadedservlet interface you don t need to change your code; you need only to implement the interface.
Number of servlet instances to instantiate per singlethreadedservlet the range value is to dispatcher max depth: maximum depth for the servlet container allowing nested. The number of servlet instances to instantiate per singlethreadedservlet the value can be from to the default value is cross-context-allowed.
Is this ar to the "thread-safety" of singlethreadedservlet? it sounds like it i would imagine that with a separate instance for each request, more memory would be consumed. Public class singlethreadedservlet extends httpservlet implements singlethreadmodel void doget(httpservletrequest req, httpservletresponse res..