-
Jul 5th, 2006, 08:30 PM
#1
valang help
Hi, if I created a valang bean ref in the xxx-servlet.xml file and created some entries for it, how do I make the jsp page to show the errormessage if validation failed?
thanks a bunch
-
Jul 5th, 2006, 10:13 PM
#2
I haven't used valang before, but according to its documentation page ([1], "usage" section) it implements the Validator interface, so it should work the same JSP-wise as a manually written Validator-implementing class. Look at [2] below for Spring 1.2.x and 2.0 samples of handling error messages within your JSP.
Glen
[1] http://opensource.atlassian.com/conf...lang+validator
[2] http://www.jroller.com/page/gmazza?e...ring_1_2_x_and
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules