Struts1标签logic:present ?
<script type="text/javascript"> <logic:present name="RESULT"> <logic:equal name="RESULT" value="saveSuc"> window.parent.document.getElementById("error_info_message").value=getOperateInfo_("setup_save_suc"); </logic:equal> <logic:equal name="RESULT" value="saveFail"> window.parent.document.getElementById("error_info_message").value=getOperateInfo_("setup_save_fail"); </logic:equal> </logic:present> </script>