Hi guys,
I am using
JSP 1.2, and I developed my own custom tag library. I have written the tld file and package them in a jar file.
META-INF/mytaglib.tld
mytaglib/Mytag.class
I put the jar file in the WEB-INF\lib directory and I also copy the tld file in the WEB-INF directory.
However, when I include a tag in my library in one of my jsp page. I have the following error:
[jasperc] java.lang.NoClassDefFoundError: mytaglib/Mytag (wrong name: MyTag)
I use an
ant script task jaspc to do the job. Can anyone help me to find out the cause of the error.