Do be aware of what this directive does. Effectively you are implementing the SingleThreadModel interface. In most cases(if not every case) you are far better off synchronizing selectively to ensure thread safety.
It is the same issue as synchronizing an entire method versus only the parts of the method which need to be thread safe. Jayson Falkner [EMAIL PROTECTED] Tony LaPaso wrote: > <%@page isThreadSafe="false"%> > > ----- Original Message ----- > From: "Gardner Monte" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, August 09, 2002 5:17 PM > Subject: JSP single-threaded > > > >>Is there a way to have a JSP page compile to a servlet that >>implements the single-threaded model? >> >>--Monte Glenn Gardner >> >> > > _________________________________________________________________ > __________ > >>To unsubscribe, send email to [EMAIL PROTECTED] and include > > in the body > >>of the message "signoff SERVLET-INTEREST". >> >>Archives: > > http://archives.java.sun.com/archives/servlet-interest.html > >>Resources: > > http://java.sun.com/products/servlet/external-resources.html > >>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html >> > > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > > > ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
