If I create classes similar to the following, then I suspect that I will run
into multithreading issues, because OneServlet and TwoServlet will run in
the same JVM? Is this correct?
public abstract class BaseServlet extends HttpServlet
implements SingleThreadModel
{
int value;
}
public class OneServlet extends BaseServlet {
public void init (ServletConfig config) {
value = 1;
}
}
public class TwoServlet extends BaseServlet {
public void init (ServletConfig config) {
value = 2;
}
}
--
Mathew Pole
Web Architect, Gerard Industries
email: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
www: <http://www.clipsal.com/> http://www.clipsal.com &
<http://www.custompress.com.au/> http://www.custompress.com.au
phone: 08 8269 0511 ext 313, fax: 08 8340 1212, mobile: 0403 164 617