Results 1 to 2 of 2

Thread: valang help

  1. #1
    Join Date
    May 2006
    Posts
    11

    Default 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

  2. #2
    Join Date
    Feb 2006
    Location
    Arlington, VA, USA
    Posts
    194

    Default

    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
  •