In my signature, there is a link to the JSP spec. Search the PDF for the "isThreadSafe" directive.
Before using it, however, search the Servlet Spec (also in my signature) for SingleThreadModel to find out why it's deprecated and why you shouldn't use it.