You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Wiebe de Jong <wi...@shaw.ca> on 2004/03/19 19:40:11 UTC
RE: Progress-Bar & Task Delegate
I love that article!
I've been looking into Quartz to manage some long-running tasks on my
business tier, but couldn't find a good way to get status updates to the
admin.
With this example, I can merge their TaskBean with a Business Delegate,
creating a 'Task Delegate'? The Task Delegate would communicate with the
business objects (EJB,DAO,etc) and make their status available to the
calling JSP.
Ooo, ooo...
[Friday might actually be productive this week]
Wiebe
-----Original Message-----
From: Matthias Wessendorf [mailto:mailings@matthias-wessendorf.de]
Sent: Friday, March 19, 2004 9:38 AM
To: 'Struts Users Mailing List'
Subject: RE: File-Upload: Progress-Bar
Hi Tim!
i didn't tryed it out,
but on ORA's ONJAVA
is saw an artikel on that
http://www.onjava.com/lpt/a/3886
perhaps you got some ideas on it!
Cheers, Matthias
-----Original Message-----
From: Tim.Adler@Bertelsmann.de [mailto:Tim.Adler@Bertelsmann.de]
Sent: Friday, March 19, 2004 10:31 AM
To: struts-user@jakarta.apache.org
Subject: File-Upload: Progress-Bar
Hello everybody!
I'm up to the task to implement a progress bar for File-Uploads, cause
the files that are uploaded to my Webapp can be quite large. Well as
usual this problem is not easily solved on the HTTP-Browser upload side.
I'm using Struts here so I'm also using the commons/FileUpload. I was
planning to do it that way that I assign a unique number to every
session's-upload and keep the current status of an upload in a singleton
for access. In an additional frame (with refresh) I would like to show
the progress bar.
My question: Has anybody done something like this with Struts before and
can give me some little advise? Or more specific: Is it possible to
first get the complete filesize from the FormFiles and the do the real
Upload during the Action (keeping track of the read bytes)
Thx for every help!!
_______________________________________
Tim Adler, Abt. SDA1
Adress Management Solutions
AZ | Direct
Carl-Bertelsmann Straße 161s
D-33311 Gütersloh
Tel.: 05241/ 80 - 89574
tim.adler@bertelsmann.de
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org