tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Cook" <jimc...@iname.com>
Subject Re: Tomcat & SingleThreadModel?
Date Thu, 25 May 2000 21:21:49 GMT
----- Original Message -----
From: David Eisner <cradle@Glue.umd.edu>
> Now, what is the relation between the Servlet service() method, and
> the HttpServlet doGet() method?  Does SingleThreadModel's gaurantee
> of synchronization on service() imply any such gaurantee for doGet()?

Yes it does. Check out the abstract class javax.servlet.http.HttpServlet.
This is your servlet's superclass and its service method is responsible for
directing the request to the appropriate doGet, doPost, goTrace, doPut,
doDelete, or doOptions method.

jim


Mime
View raw message