比如这样action里有属性id以及getter和setter private int id; public void setId(int id)
{
this.id = id;
}
public int getId()
{
return this.id;
} public String execute() throws Exception
{
this.id=3;
}
jsp页面想判断id值
<s:if test="<s:property value='id'/>==3">是应该这样写还是怎样?