I would create a 2 panels of different colors. Place one inside the other. Make
the size of the inner panel a percentage of the outer panel. Place the outer
panel on the page as a long, narrow panel. How you do this depends on what
layout manager you are using. Then just resize the inner panel to indicate your
progress.

If you don't want to use an applet, you could create 10 images of a progress
bar, 0 - 100% in 10% increments and just rewrite the page with the appropriate
image.

You might also be able to use javascript rollovers triggered from the servlet
(I'm not sure that this would actually work, but you'd be suprised how complex
and interactive you can get with javascript).

Ed.

"PATIBANDA, SRIKANTH" wrote:

> >
> >
> > Why not construct the servlet to send feedback to the user on
> > the progress of
> > the request, along the lines of a percent bar. That way, if
> > the user 'stops'
> > the request, your servlet will discover this the next time it
> > tries to write
> > the progress report. At that time you can handle the
> > IOException and stop the
> > query in the exception handler.
> > Ed.
> >
>
> oh you mean, when user stops the request, the http doesnt take any
> information from the
> servlet...so at that point we can catch..the exception.
>
> If that is the case, what is percent bar... how do i write to percent bar...
> Sounds great solution for Big problem.
> -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

___________________________________________________________________________
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