Elijah, Try giving your tag handler class a proper package name and put that in the app.tld file.
-Max ----- Original Message ----- From: "Elijah Jacobs" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, February 04, 2002 8:33 AM Subject: cannot find tag library > Hi all, > > I am using Tomcat 4.01; Windows 2000 ; Struts v1.0 > > I created a tag which displays a message on the screen. I followed the > basic layout of the example that came with struts. by "layout" I mean: > > 1. I created a tag under the /classes directory. this time I put it right > under the /classes directory so I didn't need to deal with package names. > 2. I added the tag in the app.tld (which is right under /web-inf) > 3. On my jsp page, I reference the TLD file and gave it a prefix "app" (just > like the example). > <%@ taglib uri="/WEB-INF/app.tld" prefix="app" %> > > > when I do " <app:hello /> " in my JSP page (Bid.jsp) I get: > > Generated servlet error: > C:\Program Files\Apache Tomcat 4.0\work\localhost\blank\bid$jsp.java:143: > Class org.apache.jsp.HelloTag not found. > HelloTag _jspx_th_app_hello_0 = new HelloTag(); > ^ > > I am not sure why it's looking for my HelloTag under org.apache.jsp when I > put it on the /classes directory. I have other Java files right under the > /classes directory and Tomcat 4.0.1 was able to find them - although they > were not custom tag file, but that shouldn't matter, right? > > thanks in advance, > - ej - (SNIP) -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>