想不明白为什么前台接收不到值啊。。
action:
public String pylShow() throws Exception{
getMonitorObj = getModel();
getMonitorObj = pylmonitormanager.pylgetmoninfo(getMonitorObj.getIdMon());
return SUCCESS;
}
struts.xml
<action name="pylShow" class="PylAction" method="pylShow">
<result name="success">/cold/pylshow.jsp</result>
</action>
jsp:
<input name="test" id="test" value="<s:property value="getMonitorObj.idMon" />"/>
这个input标签接收不到值。。求大神指教!