9 10:38 AM
To: Struts Users Mailing List
Subject: RE: file download problem in application server
I assume your blob Class is Serializable?
http://www.hibernate.org/hib_docs/v3/reference/en/html_single/
?
Martin
__
Disclaimer and confidentiality note
for the content provided.
> Subject: RE: file download problem in application server
> Date: Thu, 26 Mar 2009 08:20:19 -0400
> From: andrewshan...@pqa.com
> To: user@struts.apache.org
>
> I was half wrong. It was a quirk for runnnig in OC4J but the Blob was
> being mang
I was half wrong. It was a quirk for runnnig in OC4J but the Blob was
being mangled coming out of the data base (which I had previously ruled
out, doh).
Adding a property to the hibernate.properties file for:
hibernate.jdbc.use_streams_for_binary=true
fixed my problem. Otherwise file handling i
In the documentation[1] for the Stream result type we have a:
filename="contacts.xls"
This was causing the problem. A simple change to:
attachment;filename="contacts.xls"
solved the issue.
Hope this may help someone out there
Gustavo
[1] http://struts.apache.org/2.0.11.1/docs/stream-result.h
[EMAIL PROTECTED] wrote:
I get the following error, when I try downloading files through the File
download Struts2 application. I have given the Configuration detail and
the Action class. Could someone take a look and let me know where this
breaks?
public InputStream getInputStream() throws E
pg.photos.yahoo.com/ph//print_splash>to
> get quality prints in your hands ASAP.
>
>
>
> -- Forwarded message --
> From: Dakota Jack <[EMAIL PROTECTED]>
> To: Struts Users Mailing List
> Date: Wed, 18 Jan 2006 07:35:39 -0800
> Subject: Re: file do
I tried content type as application/msword but it did not help .Any other ways to solve this problem? thanks & regards Note: forwarded message attached.
Yahoo! Photos
Got holiday prints? See all the ways to get quality prints in your hands ASAP.--- Begin Message ---
Just a thought. I
Just a thought. Isn't there a specific content type for .doc
documents? That might solve your problem.I looked it up. .doc
documents are "application/msword". Try that and see what happens. I
am actually building a list of all the extensions and their content
types. Hope this helps.
On 1/18/
8 matches
Mail list logo