Big K.
Jan 31st, 2005, 01:39 PM
Hi,
I'm quite new to spring and I've tried to make a logon application. To do this, I used some code of this article : http://www.devx.com/Java/Article/22134
But I have a problem with ${status.errorMessage} in my jsp file :
<spring:hasBindErrors name="credentials">
<font color="red">
<core:out value="${status.errorMessage}"/>
</font>
</spring:hasBindErrors>
The ${status.errorMessage} is always blank. After quite some time, I managed to figure out what was the problem. If I use the spring.jar and spring.tld of the zip file of the article, my code works fine. But If I try the 1.1.3 or 1.1.4 version of the those files (I haven't tested all the versions) it doesn't work: the ${status.errorMessage} is blank.
So I was wondering if It was a bug, or if I did it wrong. Perhaps, there is a new way of doing all the validation stuff.
Thanks, and forgive me my english ;)
I'm quite new to spring and I've tried to make a logon application. To do this, I used some code of this article : http://www.devx.com/Java/Article/22134
But I have a problem with ${status.errorMessage} in my jsp file :
<spring:hasBindErrors name="credentials">
<font color="red">
<core:out value="${status.errorMessage}"/>
</font>
</spring:hasBindErrors>
The ${status.errorMessage} is always blank. After quite some time, I managed to figure out what was the problem. If I use the spring.jar and spring.tld of the zip file of the article, my code works fine. But If I try the 1.1.3 or 1.1.4 version of the those files (I haven't tested all the versions) it doesn't work: the ${status.errorMessage} is blank.
So I was wondering if It was a bug, or if I did it wrong. Perhaps, there is a new way of doing all the validation stuff.
Thanks, and forgive me my english ;)