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.