m: Andre Van Klaveren [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 14, 2005 3:39 PM
> To: Struts Users Mailing List; [EMAIL PROTECTED]
> Subject: Re: Output PDF
>
> I'm assuming that your browser client is IE. If so, the reason your
> Action is being called twice is because
sage-
From: Andre Van Klaveren [mailto:[EMAIL PROTECTED]
Sent: Monday, March 14, 2005 3:39 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: Output PDF
I'm assuming that your browser client is IE. If so, the reason your
Action is being called twice is because of a "feature&q
ED]
> Sent: Monday, March 14, 2005 2:39 PM
> To: Struts Users Mailing List; [EMAIL PROTECTED]
> Subject: Re: Output PDF
>
> I'm assuming that your browser client is IE. If so, the reason your
> Action is being called twice is because of a "feature" in IE 4.x+. If
&g
Woh! IE *does not* use the URL to determine content type. It's
determined by the MIME type sent back with the response from the
server.
And, by default, the option to have IE save encrypted data to disk is
turned on, so there won't be an issue with PDFs and SSL unless
Micro$oft has changed this
Thanks for the great response. This should take care of all my issues.
-Original Message-
From: Andre Van Klaveren [mailto:[EMAIL PROTECTED]
Sent: Monday, March 14, 2005 2:39 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: Output PDF
I'm assuming that your br
Why are you doing that in a jsp? You can do it in an action, but it
will not work that well (but it will work better tahn in a jsp, i
promise).
The other issue is that a URL ending in /foo.do?name=value will not be
seen by IE as a pdf. You should probably use a servlet for this
instead, then you c
I'm assuming that your browser client is IE. If so, the reason your
Action is being called twice is because of a "feature" in IE 4.x+. If
your application returns data that is to be handled with an ActiveX
control (ie Adobe Acrobat Reader) the browser sends additional
requests to the server. In
I'm using Jasper to create PDF's through my Actions and cannot figure out a
good way to export the resulting byte[] to the user.
Currently the tail end of my Action class looks like this:
byte[] reportBytes = null;
File jasperReport = new File(location);
try {
reportBytes = JasperRunMana
8 matches
Mail list logo