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
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
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 browser
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
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
your application returns data that is to be handled
]
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 in IE 4.x+. If
your application returns data that is to be handled
in IE6? Is it
safe to just look for the existence of the ACCEPT-LANGUAGE header?
Thanks,
- Scott
-Original Message-
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
7 matches
Mail list logo