Background Threads and JSP

2001-03-04 Thread Ryan Detert
I have a generic public class containing a Vector that implements Runnable. I then have a subclassed singleton that I getInstance() in a jsp page to make sure that the browser clients are all using the same Vector. I want to add an element to the Vector every 4 seconds using Thread.sleep(). I

Re: Background Threads and JSP

2001-03-04 Thread William Brogden
Ryan Detert wrote: I have a generic public class containing a Vector that implements Runnable. I then have a subclassed singleton that I getInstance() in a jsp page to make sure that the browser clients are all using the same Vector. I want to add an element to the Vector every 4

Re: Background Threads and JSP

2001-03-04 Thread David Wall
I have a generic public class containing a Vector that implements Runnable. I then have a subclassed singleton that I getInstance() in a jsp page to make sure that the browser clients are all using the same Vector. Vector is already synchronized, so there should be no problem with multiple