struts2.0

方法一:
             <s:action name="showPicture" namespace="/luncharena" executeResult="true">
                  <s:param id="m_id" name="m_id"><s:property value='mealDetail.meal_id'/></s:param>
             </s:action>

方法二:
             <s:action name="showPicture" namespace="/luncharena" executeResult="true">
      <s:param id="m_id" name="m_id" value="<s:property value='mealDetail.meal_id'/>"></s:param>
  </s:action>

你可能感兴趣的:(页面传值到action)