Announcement Announcement Module
Collapse
No announcement yet.
JSTL issue with version 2 final release. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • JSTL issue with version 2 final release.

    I recently upgraded to version 2 of Spring, and I am having trouble with a very simply JSTL.
    The following code is a standard error message display.
    It works fine under the release candidates, but not under the final Version 2 release.

    Code:
    <c:if test="${not empty messages}">
    	<span id="messages" name="messages" class="message" >
    		<c:forEach var="aMessage" items="${messages}">
    			<br/><c:out value="${aMessage}" />
    		</c:forEach>
    	</span>
    </c:if>
    Any ideas what might be wrong?

  • #2
    As an update, if I change the name of the attribute to something else, such as "mymessages", it seems to work fine.

    Comment

    Working...
    X