Results 1 to 3 of 3

Thread: Spring commons validator with velocity views

  1. #1

    Default Spring commons validator with velocity views

    have been using commons validator with spring for a few months and I have no complaints. Since spring does not provide any declarative validation features and is unlikely to provide anything any time soon, I am forced to use the commons validator framework which my struts developers cannot do without. Although it is unlikely that I would switch from using JSP to using velocity as my view technology, I wonder how I would continue to use commons validator if I were to switch my views to velocity. Does anyone know if it is possible right now to use commons validator with velocity?

    A few months ago, I got excited when I found out that Spring was coming up with a validation framework. I noticed that it has been pushed back to spring 1.3. It appears that it is not a top priority and it could be because not many users are requestiing this feature in spring. I think it would be a great addition and wish it could be implemented sooner.
    J2EEGuru,
    The Spring Advocate

  2. #2

    Default

    Should I be looking at Freemarker instead since it can take advantage of JSP custom tags and therefore might be able to leverage the commons client-side validation custom tag? However, I just read in a thread that when using spring's support for Freemarker, the JSP custom tag integration does not work.
    J2EEGuru,
    The Spring Advocate

  3. #3
    Join Date
    Sep 2004
    Location
    Boston, US
    Posts
    130

    Default

    I too am eagerly waiting for the declarative validation support in Spring. Infact instead on investing time in writing lots of Validator classes for syntactic validation, I have decided to defer adding validation in the controllers hoping to add it later once Spring supports declarative validation.

    Sanjiv

Similar Threads

  1. Spring MVC Web Framework versus Struts
    By biguniverse in forum Web Flow
    Replies: 27
    Last Post: Aug 29th, 2012, 03:57 AM
  2. Replies: 14
    Last Post: Feb 21st, 2005, 05:41 PM
  3. Replies: 2
    Last Post: Feb 17th, 2005, 12:31 PM
  4. Spring + SiteMesh + Velocity?
    By chrisrbailey in forum Web
    Replies: 3
    Last Post: Jan 20th, 2005, 08:15 PM
  5. Replies: 1
    Last Post: Nov 25th, 2004, 11:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •