obviously I did
though I might sound, but I'm not that dumb to send a question without
having even chekc out what I could at my end
ok so this is what i did
I created a class that extends Thread
the run method was supposed to write some info to a file (FileOutputStream)
when I ran the class from a regular class the file was created in the same
folder where the .java file existed
however, when I called the start method from a servlet it didn't return any
error
in fact when I checked isAlive() that return true also
but I am not able to find the file that it created
by the way, I put my multithreaded file my own class path and nowhere in the
tomcat folders
peter

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Thompson, Willard (GTICCC)
Sent: 15 June, 2001 5:04 PM
To: [EMAIL PROTECTED]
Subject: Re: threads in jsp


Good question, test her out.

-----Original Message-----
From: Peter Barraud [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 15, 2001 6:35 AM
To: [EMAIL PROTECTED]
Subject: threads in jsp


is it possible to create an ordinary java class that extends Thread and then
call the start method of that class from a jsp
the run method spawns a new thread that runs on its own
peter

___________________________________________________________________________
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

Reply via email to