Struts Validator throwing InvocationTargetException

  • Thread starter Thomas 'Skip' Hollowell
  • Start date
T

Thomas 'Skip' Hollowell

<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.
 
T

Thomas 'Skip' Hollowell

Thomas said:
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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,534
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top