File Download problem with Tomcat JSPs

O

Oliver Knorr

Hello,

i have a problem with a web application which provides files to
download. If i click on an URI, which points on a file, the
download-dialog is opened. If i choose the "open from
location"-option, some files can´t be downloaded correctly. The error
messages are like "... file doesn't exist yet", in other cases
downloded ZIP-files are empty. the "save as..."-option works quite
fine. The same application, the same code with the same files do work
in my Oracle JDeveloper Environment (using OC4J), so Tomcat seems to
be wrongly configurated or - shocking - buggy.
has any body experience with that behaviour downloading/opening files
from a tomcat application server?
 
J

John C. Bollinger

Oliver said:
Hello,

i have a problem with a web application which provides files to
download. If i click on an URI, which points on a file, the
download-dialog is opened. If i choose the "open from
location"-option, some files can´t be downloaded correctly. The error
messages are like "... file doesn't exist yet", in other cases
downloded ZIP-files are empty. the "save as..."-option works quite
fine. The same application, the same code with the same files do work
in my Oracle JDeveloper Environment (using OC4J), so Tomcat seems to
be wrongly configurated or - shocking - buggy.
has any body experience with that behaviour downloading/opening files
from a tomcat application server?

I have applications with which users can download files from Tomcat via
a link presented in a JSP-generated HTML page. I have not seen the
behavior you describe. If the "save as" option reliably works but
others reliably don't then presumably there is something different about
the HTTP exchange between one option and the other (or perhaps the
_browser_ is buggy). I suggest you examine your access logs and perhaps
capture and analyze the HTTP exchange in order to better characterize
the problem. Once you understand better what is happening, you may
discover that the JSP that is buggy, the webapp is misconfigured, Tomcat
is misconfigured, or perhaps, yes, Tomcat is buggy.


John Bollinger
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top