javax.el.PropertyNotFoundException: Property 'userAccount' not found on type java.lang.String
上面是报错信息,
下面是JSP页面:
用户名: | ${commentlist.userAccount.userName } |
职业: | ${commentlist.userAccount.job } |
上面${commentlist.userAccount.userName },这样引用对吗?应该怎么引用?
${userAccount.userName }
${userAccount.job }
/c:forEach
你试试
${}${}${}/c:forEach