• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic