This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic