怎样用ActionContext获得application对象啊.
------解决方案--------------------------------------------------------
你把你的actin实现ApplicationAware这个接口,在定义
private Map<String, Object> application;
@Override
public void setApplication(Map<String, Object> application) {
this.application= application;
}
你就可以操作application了