Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error Using Custom Tag

843835Jan 22 2002 — edited Feb 7 2002
I am trying to use a custom tag but receive an error when I use it on a jsp page.

I have a tag handler class file, tag library descriptor file, specified the path to the .tld in the web.xml file.

The error implies that it cannot find the SimpleTag.class file, though I put it in the \webapps\examples\WEB-INF\classes\ directory.

Here is the error. Does anyone know what else it could be?

org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
C:\jakarta-tomcat-4.0.1\work\localhost\examples\jsp\jspVisual\ch10\using_0005ftag$jsp.java:63: Class org.apache.SimpleTag not found.

SimpleTag_jspx_th_myFirstTag_SimpleTag_0 = new SimpleTag();
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 7 2002
Added on Jan 22 2002
22 comments
416 views