日期:2014-05-20  浏览次数:20579 次

EL 输出 struts1 formbean中属性的问题
EL 不能正确输出属性值
<bean:write name="loginForm" property="user.userName"/> : 可以正确输出结果
${loginForm.user.userName} : 页面仍然显示 ${loginForm.user.userName}

------解决方案--------------------
版本问题,必须加上这个<%@ page isELIgnored ="false"%>