1.替換內容為單個字符: <s:property value="strValue1.replace('s', 'A')" /> 2.替換內容為多個字符: <s:property value='strValue2.replace(\"zz\", \"BB\")'/> <td class="tableList"><s:property value="device.replace(\"0\",'Touch智控').replace(\"1\",'鼠標').replace(\"2\",'多屏互動').replace(\"3\",'遙控器')"/> </td>