Jim Collings wrote:
<%response.setHeader("Content-Disposition", "attachment;
filename=\"filename_${fromDate}-${toDate}.doc\""); %>

The above is what I currently  have but I think there is a new way to
do it that doesn't involve using a scriptlet. Also, the "fromDate" and
"toDate" items don't work. I've tried quoting them but I'm not sure I
got it right. They are used later on in the document, so I know I am
getting them.

AFAIK you can't use EL inside a scriptlet.

If you're streaming the result back with a "stream" result set that information in the result configuration.

Dave

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

Reply via email to