读书人

jfreechart在struts2 中施用配置步骤

发布时间: 2012-07-23 09:42:19 作者: rapoo

jfreechart在struts2 中使用配置步骤

??? ?<!-- 为jfreechart 添加result types ?-->
??? ???? <result-types>
???????????? <result-type name="chart" src="/img/2012/06/24/0648022096.png">
?3.和其他action写法一样,要在数据困苦中查询数据,通过Service返回一个List对象;

? 写一个方法给图标赋值:


jfreechart在struts2 中施用配置步骤???<result name="success" type="chart"? >
????<param name="height">600</param>
????<param name="width">800</param>
???</result>
??</action>

8.在jsp页面写一个Button 转到 7中的action即可!

读书人网 >开源软件

热点推荐