Re: process completed

Jose Rubio <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.