EL 输出 struts1 formbean中属性的有关问题

EL 输出 struts1 formbean中属性的问题EL 不能正确输出属性值bean:write nameloginForm propertyuse

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

[解决办法]
版本问题,必须加上这个<%@ page isELIgnored ="false"%>