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 Nabbl
-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
> wrote:
>
>> I was thinking maybe about an "error-page"... (never done that
>> before): in case an exception is thrown after the response "has
>>
Hassan Schroeder wrote:
On Thu, Sep 25, 2014 at 7:18 AM, Léa Massiot 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 brow
On Thu, Sep 25, 2014 at 7:18 AM, Léa Massiot 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 disp
really.
Could it be a solution?
Best regards.
--
View this message in context:
http://tomcat.10.x6.nabble.com/File-download-using-a-servlet-and-error-handling-tp5023017p5023041.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
--
-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 fi
don't see how I can both download the file and redirect the user towards
the "download-file.jsp" page with an appropriate message.
Do you have an idea how I should proceed?
All the best and sorry for the language approximations like "consumed", etc.
--
View this message