Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: Progress Bar

  1. #1
    Junior Member
    Join Date
    Dec 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default 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


  2. #2
    Member
    Join Date
    Dec 2012
    Posts
    33
    My Mood
    Confused
    Thanks
    2
    Thanked 2 Times in 1 Post

    Default 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

  3. #3
    Junior Member
    Join Date
    Dec 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default 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

  4. #4
    Member
    Join Date
    Dec 2012
    Posts
    33
    My Mood
    Confused
    Thanks
    2
    Thanked 2 Times in 1 Post

    Default 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

  5. #5
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default 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

Similar Threads

  1. Progress bar in java
    By jullien in forum AWT / Java Swing
    Replies: 1
    Last Post: October 31st, 2011, 06:55 AM
  2. Progress bar in JSF
    By AmitPanchal in forum JavaServer Pages: JSP & JSTL
    Replies: 1
    Last Post: March 4th, 2011, 04:21 AM
  3. Progress Bar Problem
    By Ellipsis in forum AWT / Java Swing
    Replies: 4
    Last Post: October 23rd, 2010, 12:22 AM
  4. [Swing-Progress Bar] Can't resize progress bar
    By Grabar in forum What's Wrong With My Code?
    Replies: 0
    Last Post: March 14th, 2010, 12:27 PM
  5. Progress bar while uploading a file in web application
    By jazz2k8 in forum AWT / Java Swing
    Replies: 4
    Last Post: July 8th, 2008, 07:32 AM