SSH 整合怎样在action中获取客户请求数据(在action)中以对象方式获取,配置文件是不是需要特殊配置??

2025-04-24 04:03:38
推荐回答(2个)
回答1:

如果是Structs2 Action 继承supportAction

然后 private Person person; 不应该报错啊

回答2:

implements ModelDriven 继承ModelDriven接口
public Person getModel() { //getModel方法返回模型
// TODO Auto-generated method stub
return person }