比如这样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">是应该这样写还是怎样?
{
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">是应该这样写还是怎样?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货