20030630 Monday June 30, 2003

HowTo: JSP Progress Bars

As web interfaces become ubiquitous, more and more complex back-end processing is necessary. Of course, stateless HTTP leaves few ways to tell users what's going on. Andrei Cioroianu presents a JSP technique to display application "progress bars." [ONJava.com]

It's too bad there's so much scriplet action in this example, but the lesson is good. It'd be even nicer to see a JSTL port of this howto, or an alternate view approach (i.e. using Velocity or XML/XSL). Posted in Java at Jun 30 2003, 06:32:03 AM MDT 4 Comments

Comments:

I've found XML-RPC to be great for client-server communication. It would be trival to create an XML-RPC web service that takes a taskID and returns a percentage. The client page would call that service every 10 seconds or so via JavaScript and update the progress bar accordingly. A good client-side XML-RPC library is at http://www.vcdn.org/Public/XMLRPC/ and of course a good server side library is at http://ws.apache.org/xmlrpc/.

Posted by Don Brown on July 01, 2003 at 01:39 PM MDT #

65r67

Posted by 68.158.8.73 on October 22, 2005 at 06:53 AM MDT #

a

Posted by 210.18.83.173 on December 30, 2005 at 02:29 AM MST #

progress bar in servlets or jsp

Posted by krishna on March 25, 2008 at 11:52 PM MDT #

Post a Comment:
  • HTML Syntax: Allowed
Click me to subscribe
Matt Raible is a Web Architect who enjoys developing applications with open source technologies. Contact me for rates.
« December 2008
SunMonTueWedThuFriSat
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
   
       
Today

Recent Entries

Tag Cloud