private Version version=new Version();
private List<Version> versions=new ArrayList<Version>();
private VersionService versionService;
public String vlist(){
versions=versionService.findVersion();
return SUCCESS;
}
action中是有数据的 set get方法也有
没看懂。jsp什么都没有。 而且不存到作用域里,能取到数据吗?
<tr onmouseover="this.style.backgroundColor = 'white'"
onmouseout="this.style.backgroundColor = '#F5FAFE';">
<td style="CURSOR: hand; HEIGHT: 22px" align="center"
width="18%"><s:property value="vID" /></td>
<td style="CURSOR: hand; HEIGHT: 22px" align="center"
width="18%"><s:property value="vName" /></td>
<td style="CURSOR: hand; HEIGHT: 22px" align="center"
width="17%"><s:property value="vRemark" /></td>