有一种方法比较简单,比如以struts2为例 你可以把要显示的值写入到action变量中去 并提供get方法 在前台用pertotype value去取就好了 省事
var jsonStore = Ext.util.JSON.decode(store);