Oracle Magazine Special offer for AjaxImpact.com Visitors!! Subscribe to Oracle Magazine for Free!
AJAX IMPACT



AJAX NEWS
AJAX Struts File Upload Progress Meter
03/23/2006, By Ken Cochrane



Ken Cochrane have posted a simple tutorial on creating the Ajax upload progress bar using struts and DWR.

He writes "Over the course of the last year or so I have been hearing a lot about AJAX, and how cool it is, and what neat stuff you can do with it. At first I wasn't too impressed, mostly because I have heard it all before. It wasn't until I saw google maps that I realized how cool it was. I have been itching to use Ajax ever since."

He further explains:

What I wanted to change in the example.

  • Get the example to work with struts
  • get the file to upload to a selected directory
  • show the status of the file in the progress meter
  • when the file is uploaded don't leave the page, stay on the same page (no redirect or refresh).


  • What I did.

  • I downloaded the war file with source code from the article
  • refactored the project directory
  • changed the build script
  • setup struts, log4j
  • added logging statements for easier debugging


  • Download the code for AJAX Struts File Upload Progress.

       Read Full Tutorial


     Rate this Ajax News
     Rating: 1.0 out of 1 vote cast

    AJAX NEWS
    04/01/2007 wxJavaScript : porting wxWidgets to JavaScript.
    03/31/2007 DED|Chain - The web developers JavaScript Kit
    03/30/2007 Clipperz Crypto Library - a JavaScript library of crypto primitives
    03/28/2007 ETech - AJAX Unplugged Slides
    03/27/2007 Stripe Generator: ajax powered web 2.0 tool!
    03/26/2007 Finally Microsoft joins the OpenAjax Alliance


    INDUSTRY NEWS
    05/19/2006 Ajax grabs center stage at JavaOne, By Tony Baer
    05/15/2006 Oracle to boost AJAX, Java , By Paul Krill
    05/13/2006 Open AJAX Group Drafts Development Plans, By Stacy Cowley
    05/13/2006 AJAX Powers Interactive Marketing ASP, By AjaxWorld News Desk
    05/12/2006 AJAX Experts Tackle Security, Other Issues , By Darryl K. Taft
    05/11/2006 Adobe Releases Spry Framework for AJAX, By AjaxWorld News Desk
    More 
           

          © 2008 ajaximpact.com. All rights reserved.