• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can we unbind the errors in the spring-portlet mvc framework

 
anusha banu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have an issue -- In the login screen if i enter some data that is not present in the database, i will get the "User not availabe" message in the jsp which is implemented using spring:hasBindErrors. When i am refreshing the page that errormessage still appears in the login screen.

Code:
<spring:hasBindErrors name="loginBean">
<c:forEach var="error" items="${errors.allErrors}">
<spring:message code="${error.code}" text="${error.defaultMessage}"/>
</c:forEach>
</spring:hasBindErrors>


Please help me how to solve this issue.

Thanks in advance.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic