Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

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

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.

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

Please help me how to solve this issue.

Thanks in advance.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic