webwork入门问题
action里面
private Person person= new Person();
public Object getModel() {
return person;
}
public String doProperty(){
String id = (String) ServletActionContext.getRequest().getParameter("id");
person=personBO.doGetPerson(Integer.parseInt(id));
return "doProperty";
}
jsp叶面里
<ww:property value="personId"/>
<ww:property value="name"/>
执行的时候,为什么也面上显示不出数据呢??请大家指教
personBO的确是能够得到person对象的。