struts标签,<s:textfield>嵌套<s:property>的问题

错误: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>
 
原文地址:https://www.cnblogs.com/hanxue53/p/4312781.html