-
Progress Bar
Hi i am working on progress bar. i am new to javascript.
for my application signin tacking 1 min time. while signin , i have to show progress bar.
in my project i am using servlet and jsp.
i tried with java script but it not showing properly. Because we have to give time interval in javascript. we can not found actuval server responce time( servlet process) . so if you know any idea please tell me.what is the other ways creating progress bar using servelt?
Thanks
-
Re: Progress Bar
Java is to Javascript like Ham is to Hamster
they are two different things, and this is a java forum, I don't think most of us know much about javascript
-
Re: Progress Bar
ok Thank you.
but by using java ,how we can create progress bar.i need to provide progress while processing back end .
Thanks
hani
-
Re: Progress Bar
I don't get what you mean, progress bar of what?
post your code and tell us where are you stack at, only then we will be able to help you
-
Re: Progress Bar
Post the relevant code. If you have a long running servlet, as your post suggests, I'd recommend moving this into something else, for instance a Message Driven Bean (or some type of server container controlled thread queue). You can then poll a servlet which outputs the progress of the task using ajax, which then updates the user with a javascript progress bar.
Thread moved out of 'what's wrong with my code', as you haven't posted an code