> Is there anyway to execute a method in the background, so effectively > it calls something which churns away but control is returned back to the > servlet straight away?
You can create a threaded mailer class object which generates the mail in the run method. >From your servlet create an instance of the threaded mailer object and call its start method. Richard Shonk Flowserve Corp. Programmer / Analyst Parts Distribution Center Moosic, Pa. ___________________________________________________________________________ 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