Here is my jsp test case (again .. sigh) - I had to rename it to txt file so mozilla would attach it.


-Tim
<HTML><HEAD></HEAD><BODY>
<PRE>
<%
Thread foreverThread = new Thread() {
    public void run() {
        for(int i=0;i<5000;i++){
          System.out.println("Iteration: " + i);
          try {
            Thread.sleep(100);
          } catch(Throwable e){
          }
        }
    }
};
foreverThread.setDaemon(false);
foreverThread.start();

foreverThread = new Thread() {
    public void run() {
        for(int i=0;i<1000;i++){
          try {
            Thread.sleep(2000);
          } catch(Throwable e){
          }
        }
    }
};
foreverThread.setDaemon(false);
foreverThread.start();

for(int i=0;i<1000;i++){
  out.println("Iteration: " + i);
  out.flush();
  try {
    Thread.sleep(100);
  } catch(Throwable e){
  }
}


%>
</PRE>
</BODY>
</HTML>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to