Hi all,

I figured out what was wrong with this, and I am posting the result to be
archived. It seems like another 5 people or so had asked that question in
the past but got no answer. The reason is that the WEB-INF must not be
misspelled in lowercase. If you're using Windows NT you won't notice,
because both appear as 'Web-inf' when you look at them. So use WEB-INF
instead.

Iraklis

-----Original Message-----
From: Iraklis Kourtidis [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 08, 2001 11:18 AM
To: [EMAIL PROTECTED]
Subject: "Could not locate TLD META-INF/taglib.tld"


Hi all,

I searched the archive and realized there was no answer to the following
problem that many people (including me right now) had:

when I tried to view a JSP using Tomcat, I got the following error:

org.apache.jasper.compiler.CompileException:
D:\Java\jakarta-tomcat-3.2.1\webapps\InfoportalJava\jsp\ichannel\filterByPag
e.jsp(0,0) Unable to open taglibrary /WEB-INF/struts-html.tld : Could not
locate TLD META-INF/taglib.tld
        at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEve
ntListener.java:713)
...

Evidently, this was the result of trying to compile the line
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>

This webapp worked OK using Weblogic, so at least I know my screwup is
Tomcat-specific. It seems that struts.jar contains a file called
'taglib.tld' in its META-INF directory, but that's as far as I could go.

Any ideas are much appreciated!

thanks,
Iraklis

Reply via email to