tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kate Fox <kate....@fraudwall.net>
Subject Struts2 + JFreeChart Plugin + HttpServletRequest
Date Sat, 24 Nov 2007 06:56:14 GMT
My JFreeChart action class implements ServletRequestAware, but 
setServletRequest is not being called.

Here is my definition from struts.xml:

       <package name="chart" extends="jfreechart-default">
        <action name="Graph" class="mypackage.Graph">
            <result name="success" type="chart">
                <param name="width">650</param>
                <param name="height">500</param>
            </result>
        </action>
    </package>

How can I get a HttpServletRequest object in my action?

Thanks for your help,

Kate

Mime
View raw message