您的位置:首页 > 编程语言 > Java开发

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

2015-03-04 11:16 429 查看
错误: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>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: