Author | Message |
---|---|
abhishek_sharma
Posts: 79
|
Posted 14:52 Nov 08, 2012 |
In my Spring MVC , maven project ; I want to create a Custom Tag. This is what I did so far. Created a Class extends TagSupport then I have a abhi.tld file
<?xml version="1.0" encoding="UTF-8" ?> In JSP I am getting this warning The tag handler class for "custom:imageCount" (null) was not found on the Java Build Path Can anyone give any idea what am I doing wrong
|
cysun
Posts: 2935
|
Posted 15:09 Nov 08, 2012 |
I had a similar error before, but I don't remember how I fixed it. Most likely it has something to do with the tld file. In particular, in Taglib 2.1 XML schema (as specified in your <taglib>), <tlibversion> should be <tlib-version>, and <jspversion> is no longer supported. |
abhishek_sharma
Posts: 79
|
Posted 15:31 Nov 08, 2012 |
No longer showing that warning I changes <tagClass> to <tagclass>
|
cysun
Posts: 2935
|
Posted 15:34 Nov 08, 2012 |
It should be <tag-class>. See http://docs.oracle.com/javaee/5/tutorial/doc/bnamu.html. |