错误:org.apache.jasper.JasperException: /front/orderList.jsp(110,122) equal symbol expected
<s:textfield name="orderInfo.num" size="20" value="%{count}" onchange="changeCount(this.value,‘<s:property value=‘foodid’>‘)"></s:textfield>
struts2标签不能嵌套使用,应改为
<s:textfield name="orderInfo.num" size="20" value="%{count}" onchange="changeCount(this.value,‘%{foodid}‘)"></s:textfield>
<input type="text" id="employee_<s:property value="#plotDetail.ctaskId" />" />//将此变为可以回显的
修改为:
<s:textfield id="employee_%{#plotDetail.ctaskId}" value="%{#plotDetail.employee}"></s:textfield>
时间: 2024-10-06 03:19:49