From: "Adrian Janssen" <[EMAIL PROTECTED]> > returning arrays and objects that you create inside your function is fine, > but if you must modify arrays / objects that you pass in you will have to > syncronize on those objects before you modify them. Alternatively in the
I would say all the object with life scope limited to request are thread safe. Synchronization is necessary only for modifications of shared ones, in particular the ones from session. -- Regards, Rafal =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
