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" <[EMAIL PROTECTED]> To: <user@struts.apache.org> 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]