Struts Validator throwing InvocationTargetException

Discussion in 'Java' started by Thomas 'Skip' Hollowell, Jun 9, 2004.

  1. <form name="/dynPrepaidHistory">
    <field property="endDate" depends="mask">
    <arg0 key="validation.history.enddate.required"/>

    <var><var-name>mask</var-name><var-value>^((19[0-9][0-9]|2[0-1][0-9][0-9])-(0?[1-9]|1[0-2])-(0?[1-9]|[12][0-9]|3[01]))$</var-value></var>
    </field>
    <field property="startDate" depends="mask">
    <arg0 key="validation.history.startdate.required"/>

    <var><var-name>mask</var-name><var-value>^(yyyy-mm-dd|((19[0-9][0-9]|2[0-1][0-9][0-9])-(0?[1-9]|1[0-2])-(0?[1-9]|[12][0-9]|3[01])))$</var-value></var>
    </field>
    </form>

    The Validation is actually occuring, and is only allowing valid data
    formats through (yyyy-mm-dd) where yy may or may not have a leading 0.

    But I get the huge exception every time this fields is validated, and a
    couple hundred lines are added to my log file....ideas of where to look
    or what to look at are appreciated.
    Thomas 'Skip' Hollowell, Jun 9, 2004
    #1
    1. Advertising

  2. Thomas 'Skip' Hollowell wrote:

    > But I get the huge exception every time this fields is validated, and a
    > couple hundred lines are added to my log file....ideas of where to look
    > or what to look at are appreciated.


    To answer my own question, the jakarta-org.jar file had inadvertently
    been deleted from my lib directory. Replaced it and all is well.
    Thomas 'Skip' Hollowell, Jun 9, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. horseface

    InvocationTargetException

    horseface, Jan 13, 2005, in forum: Java
    Replies:
    0
    Views:
    530
    horseface
    Jan 13, 2005
  2. Jeeves
    Replies:
    0
    Views:
    944
    Jeeves
    Feb 3, 2005
  3. Elhanan
    Replies:
    0
    Views:
    397
    Elhanan
    Mar 15, 2005
  4. vk02720
    Replies:
    0
    Views:
    8,033
    vk02720
    Aug 5, 2005
  5. Replies:
    4
    Views:
    896
    Richter~9.6
    Feb 13, 2007
Loading...

Share This Page