struts2前台获取数据问题

想不明白为什么前台接收不到值啊。。
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标签接收不到值。。求大神指教!

用看看值栈中有没有getMonitorObj,没有的话在execute()中加上下面语句试试。
ActionContext ctx = ActionContext.getContext();
ctx.put("getMonitorObj",getMonitorObj);

需要${getMonitorObj.idMon} 或者#getMonitorObj.idMon,试试

 <s:debug></s:debug>

看看值栈。
上条消息这个标签被屏蔽了