EL-访问strust2的actionErrors,fieldErrors,actionMessages

1.

<c:forEach items="${actionErrors}" var="item">
   ${item}
</c:forEach>

 

2.

<c:forEach items="${fieldErrors}" var="item">
    ${item.value[0]}
</c:forEach>

 

3.

<c:forEach items="${actionMessages}" var="item">
   ${item}
</c:forEach>
 

 

 

 

 

 

你可能感兴趣的:(message)