JSP 1.2: Great News for the JSP Community, Part 2
Subject:   Help !
Date:   2002-01-30 09:26:36
From:   asjsaravanan
This article is really good.Just I was trying the example given in "PropertyEditors for custom string literal conversion". But I faced some problems. I wrote the BeanInfo and Editor classes as said in the article. The following is code in the jsp page.

<test:datetest firstDate="1999-12-12" />

But I am getting the following exception:

org.apache.jasper.JasperException: Unable to convert string '1999-12-12' to class java.util.Date for attribute firstDate: java.lang.IllegalArgumentException: 1999-12-12

I even looked in the Tomcat source code. Everything looks correct!.Please help.