-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hassan,
On 9/25/14 11:28 AM, Hassan Schroeder wrote: > On Thu, Sep 25, 2014 at 7:18 AM, Léa Massiot <lmhe...@orange.fr> > wrote: > >> I was thinking maybe about an "error-page"... (never done that >> before): in case an exception is thrown after the response "has >> been committed", maybe this error page could be sent to the >> user... > > Since the user's browser will still be displaying > "download-file.jsp" after the download, why not add some JS/AJAX to > the page to poll for a status update and display that? > > Just another possibility :-) This is what I did for a client some years back who wanted to show a download progress bar without a native download client. We did it with HTTP refreshes and no Javascript (pre-AJAX days). - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJUJGXSAAoJEBzwKT+lPKRYy94QAJO958H6vXkFiw27ATO/6ALK +30Kkz2O7mJK/k5Z5xKhbzwcwoO0KzOGF1dQSC/Lvz/5DhfJ7oLkZ+6XXZFuPweF 78rCF/M89jMEfdli0vPJN2fw9js1CuSOqzrNUzJz+LZx7dgqLjvu94pF9IJRo+kZ nLo5hbGOTpCG4qpTgZW+w6OcM1+le69iiOPdq0q+pOgA0s4BMPpahyf80mcQBA5d 0EVi32b/rDcfrBgrYiL+a0VgmcDuxe/9WBcvud5uZBWWdf6uEcrBHBQJf1BFWdRb hsgzBOWuJXRiog2ZtWXoEOpD1mTFT4bunjhl1JiLx39/wr3FTVhr0ROSsxKtVywP pdDK07b3NctmqBuLmmd0xv2tEHkMMOomabUwT1w+DdU9hNy/dfvNBqPtyInbaUyB QkcyzKhEWnhMW0+XI/D4U4Mg1qMOCu2WZPOUnwqUUDbKx4WEL/+dAhHaMSLre5oE rhxTxxyBo/RcuTKFMe2VcX6ilspo45uf+Mh9BpANqySJZr3LS9vWL2HolnkYoG3b lMOq/Px/QloPsBfbTW/Q+4sZnDOOprOFCtTUZwek58mw6elxa2EeZxeTqHYN1p4u 2r9fUq4OgwzX8PXwqQhrH7p/6+oQTzPWHJsPy+AAKu4TFjaeNQiEmGoWitpOi5xW tWG+363GPR/Er4KKSCJ4 =w/YK -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org