My result is:

<action name="historyByDay"
class="com.secmgmt.struts2.actions.system.SystemHistoryChartByDayAction">
                        <result name="success" type="chart">
                                <param name="value">chart</param>
                                <param name="type">png</param>
                                <param name="width">640</param>
                                <param name="height">480</param>
                        </result>
</action>

This causes FF to show me the "save as" box to download a file, rather than
an image.  I wind up with a file called "historyByDay", and if I rename it
with a PNG extension, it's what I'm looking for.

How can I force the MIME-type here?




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

Reply via email to