aspose file tools*
The moose likes Spring and the fly likes Can we unbind the errors in the spring-portlet mvc framework Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Can we unbind the errors in the spring-portlet mvc framework" Watch "Can we unbind the errors in the spring-portlet mvc framework" New topic
Author

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

anusha banu
Greenhorn

Joined: Mar 17, 2009
Posts: 2
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can we unbind the errors in the spring-portlet mvc framework