Thanks for the aclaration, really i didn't realize about the struts
documentation's version.I imagine that the better is to add the
"attachment " to avoid problems.
El 1/22/2010 9:33 AM, Dale Newfield escribió:
Stephen Turner wrote:
Oscar's syntax is described in the Struts docs:
http://struts.apache.org/2.0.8/docs/stream-result.html
It's been updated in
http://struts.apache.org/2.1.8.1/docs/stream-result.html
Too bad the docs are versioned like that so that bad documents don't
"go away" once they've been fixed.
It's working well for us without the "attachment;" piece.
Because the browsers you've tested happen to accept the value even
though it's not according to the specification.
Disposition means "OK, what do I do with this thing?" If the answer
is "save it", THEN the question of "as what?" arises. Stating the
filename without first answering the "display it inline" vs. "save it"
question is ambiguous and not guaranteed to get you the result you want.
-Dale
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
--
Oscar Calderon
JAVA Tutorials and How to's? Visit http://www.javahowto.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org