Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Servlet Interest »

Re: process completed

Jose Rubio

2003-11-13

Replies:

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 <dkabic01@(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 listserv@(protected)
> 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 listserv@(protected)
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


©2008 junlu.com - Jax Systems, LLC, U.S.A.