File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Application Frameworks and the fly likes validation in spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "validation in spring" Watch "validation in spring" New topic

validation in spring

Ashimashi Kabashi
Ranch Hand

Joined: Sep 11, 2006
Posts: 84
how does one show a validation error messages in spring one uses a jstl/core taglib
for example

now the problem is that my app server throws an exception

so I take that you cant do this <c ut value="${status.errorMessage}" />?
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

Why do you even need the core out tag? Just use ${status.errorMessage} without it.

GenRocket - Experts at Building Test Data
Ashimashi Kabashi
Ranch Hand

Joined: Sep 11, 2006
Posts: 84
its not working ... the form in not being submitted meaning the validation has executed but the error message does not show up.
this is my jsp

This is my validation code
I agree. Here's the link:
subject: validation in spring