RE: Struts, running email process in separate thread

2006-11-22 Thread Nitin M. Mandolkar
, running email process in separate thread Hi ! this might be little bit not directly related to Struts but since I am doing it in struts I decide to ask here, I have basic email procedure , what I try to achieve is : 1) from action to first start separate thread that will send email 2) for cu

RE: Struts, running email process in separate thread

2006-11-22 Thread Levan Dvalishvili
But this requires J2EE Container right? Levan Dvalishvili Support Lead  US Verticali,Inc (646) 736 - 6075 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 21, 2006 2:02 PM To: user@struts.apache.org Subject: RE: Struts, running email process

Struts, running email process in separate thread

2006-11-21 Thread Levan Dvalishvili
Hi ! this might be little bit not directly related to Struts but since I am doing it in struts I decide to ask here, I have basic email procedure , what I try to achieve is : 1) from action to first start separate thread that will send email 2) for current thread go the overview page saying you

Re: Struts, running email process in separate thread

2006-11-21 Thread Leon Rosenberg
if you are on jdk 1.5 you may want to check the Executor interface. Its basically the same pattern, but removes complexity from your code. http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/Executor.html regards Leon On 11/21/06, Levan Dvalishvili <[EMAIL PROTECTED]> wrote: Hi ! thi