how to create background process 2007-11-07 - By Martin Gainty
Back Encapsulate the long running resource in run() method of a Thread here is a good example http://java.sun.com/developer/technicalArticles/Threads/applet/
M-- -- -- Original Message -- -- From: "rbtechno" <balaji.btech@(protected)> To: <user@(protected)> Sent: Wednesday, November 07, 2007 9:12 AM Subject: how to create background process
> > > Hi, > > I need to implement file download functionality in struts application. > when user submits a filedownload request, FileProcessAction should delegate > the download process to another thread which runs as background process and > return to some other page without waiting for file download completion.How > to do it ? > > > Thanks.. > -- > View this message in context: http://www.nabble.com/how-to-create-background-process-tf4764950.html#a13627 829 > Sent from the Struts - User mailing list archive at Nabble.com. > > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > To unsubscribe, e-mail: user-unsubscribe@(protected) > For additional commands, e-mail: user-help@(protected) > >
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|