You can use Threads for Background Processing.
Bye
Jiger
>From: Jake Brain <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: background process running, while displaying JSP
>Date: Sat, 12 Aug 2000 09:15:08 EDT
>
>Hey I am sure this is basic question but first time I 've had to do it.
>Hope
>someone can help or refer me. I have a servlet that uploads a file, After
>the
>file is uploaded I want to start a process that will read and parse the
>file and update the database. But since this process of reading parsing,
>and
>updating the DB may take a while, I want to display a JSP for the client
>immediately after the file has been uploaded. I was told whatever code is
>remaining after you call callPage is not executed. So is there anything
>special I have to do to display the page and have it read, parse, update in
>the background? Thanks
>
>___________________________________________________________________________
>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
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
___________________________________________________________________________
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