Re: File download using a servlet and error handling

2014-09-26 Thread Léa Massiot
Ok guys, thank you all: I understand better. I'll see what I can do. Best regards. -- View this message in context: http://tomcat.10.x6.nabble.com/File-download-using-a-servlet-and-error-handling-tp5023017p5023118.html Sent from the Tomcat - User mailing list archive at Nabble.com.

Re: File download using a servlet and error handling

2014-09-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Léa, On 9/25/14 5:48 AM, Léa Massiot wrote: My question is about downloading a file using a servlet and handling possible errors that may take place during the download process. 1) I have a JSP page download-file.jsp with a Download file

Re: File download using a servlet and error handling

2014-09-25 Thread Léa Massiot
Hello to you too, 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... I don't know if it's possible... nor how to do it really. Could it be a solution? Best

Re: File download using a servlet and error handling

2014-09-25 Thread Hassan Schroeder
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

Re: File download using a servlet and error handling

2014-09-25 Thread André Warnier
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

Re: File download using a servlet and error handling

2014-09-25 Thread Christopher Schultz
-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