On Fri, 22 Jan 2010 09:59:52 -0500, Dale Newfield <d...@newfield.org> wrote:

Glad you were able to get that working.

Where did you find the documentation that suggested this part of your
stream result?

Oscar wrote:
  <param name="contentDisposition">filename="nameoffile.xls"</param>

The filename can also be specified, but the only valid
"contentDisposition" values are "inline" or "attachment".

So you want:
<param
name="contentDisposition">attachment;filename="nameoffile.xls"</param>

-Dale


Dale,

Oscar's syntax is described in the Struts docs: http://struts.apache.org/2.0.8/docs/stream-result.html

It's working well for us without the "attachment;" piece.

Steve

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to