Easy way to check: unpack the jar and see if the META-INF directory contains the tld. It could very well be an incorrectly built jar. (it happens) :)

Dave Newton wrote:
--- AbelMacAdam <[EMAIL PROTECTED]> wrote:
I'm learning to work with Struts.

Struts 1, apparently? (I'd skip it if you can and use Struts 2.)

Cannot find the tag library descriptor for /tags/struts-html
The first line of the jsp with the error is:
<%@ taglib uri="/tags/struts-html" prefix="html" %>
My WEB-INF/web.xml contains the following lines:
<taglib>
  <taglib-uri>/tags/struts-html</taglib-uri>
  <taglib-location>/WEB-INF/struts_html.tld</taglib-location>
</taglib>

What version of Struts 1 are you using?

Declaring the tablig (whoa... taglib) in web.xml hasn't been required for a
pretty long time; if you're running with the Tomcat bundled with Europa you
most definitely don't need that.

Looking at the docs for Struts 1.3.8 [1] the taglib URI is:
<%@ taglib prefix="html" uri="http://struts.apache.org/tags-html"; %>

d.

[1] http://struts.apache.org/1.3.8/struts-taglib/tlddoc/html/tld-summary.html


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--

Alberto A. Flores
http://www.linkedin.com/in/aflores


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to