Just to throw ideas around, you could redirect the user to another servlet
that displays the message and then waits on the process to finish.


Quoting dkabic01 <[EMAIL PROTECTED]>:

> hi there
>           I am executing an unix process from my servlet using process
> class.
> After
>           user hits the submit button this process starts. The process take
> about 30
>           to 60 minutes to get completed depening on user data. I want to
> display
>           "Your job is accepted and it running" when user clicks submit
> button,
>           whereas process is also running. When the process is completed the
> page
>           should automatically display that job is completed. I dont know
> how
> to keep
>           track of process and know when it is completed. Also if i use wait
> for
>           method of process class then it wont display"Your job is accepted
> and it
>           running" but wait for process to get over and then display it.
>           Any help in this matter would be helpful.
>           Bye
>           Dinesh
>
> ___________________________________________________________________________
> 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
>

___________________________________________________________________________
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

Reply via email to