Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

GWT: Ajax file upload?

Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have seen in GWT upload file widget but it is only wrap HTML tag. But I am interesting about true AJAX widget for file upload which may support resume upload (very useful for large files). And can do upload in background.

Is there are any available in GWT? If you know about plans regarding such widget in GWT?

Below link to example of true AJAX file upload:
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Aljaxey.

I have a bit of an issue with them calling that project AJAXUpload. I think it would be more appropriate to call it ActiveXUpload.

In any case, you could use the AJAXUpload project from GWT by using the JavaScript Native Interface. GWT allows your Java code to interact with JavaScript, so anything that can be done in JS can be done in GWT.

As for GWT specific projects like this, there are none that I know of.
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Aljaxey,

I guess they call it AJAXUpload since it uses the HttpRequest object; but I do agree with Rob, it's not exactly AJAX - and it is limited to ActiveX platforms.

Aljaxey, you're right, the GWT widget is a wrapper to the standard html component - but that is the case (and benefit) for all GWT widgets.

Just thinking out loud without too much constraint - I wonder if you could do the same with a small Java applet and some JSNI to a GWT application. On second thoughts, I could just imagine the security issues you would have to resolve to get it to work......

    Bookmark Topic Watch Topic
  • New Topic