This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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
Have you checked out Aspose?
subject: validation in spring
It's not a secret anymore!