Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Struts Validator throwing InvocationTargetException

Reply
Thread Tools

Struts Validator throwing InvocationTargetException

 
 
Thomas 'Skip' Hollowell
Guest
Posts: n/a
 
      06-09-2004
<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.
 
Reply With Quote
 
 
 
 
Thomas 'Skip' Hollowell
Guest
Posts: n/a
 
      06-09-2004
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.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Struts Validator - creditCard validator smrimell@gmail.com Java 4 02-13-2007 08:32 PM
tomcat application startup error java.lang.reflect.InvocationTargetException vk02720 Java 0 08-05-2005 03:18 PM
getting InvocationTargetException trying to return a bean.. Elhanan Java 0 03-15-2005 07:00 PM
Apache Axis "java.lang.reflect.InvocationTargetException" Jeeves Java 0 02-03-2005 02:01 AM
InvocationTargetException horseface Java 0 01-13-2005 12:01 PM



Advertisments