EL 输出 struts1 formbean中属性的问题
EL 不能正确输出属性值
<bean:write name="loginForm" property="user.userName"/> : 可以正确输出结果
${loginForm.user.userName} : 页面仍然显示 ${loginForm.user.userName}
[解决办法]
版本问题,必须加上这个<%@ page isELIgnored ="false"%>
发布时间: 2012-02-20 21:18:25 作者: rapoo
EL 输出 struts1 formbean中属性的问题
EL 不能正确输出属性值
<bean:write name="loginForm" property="user.userName"/> : 可以正确输出结果
${loginForm.user.userName} : 页面仍然显示 ${loginForm.user.userName}
[解决办法]
版本问题,必须加上这个<%@ page isELIgnored ="false"%>