struts_html.tld

<taglib>

<taglib-uri>/tags/struts-html</taglib-uri>

<taglib-location>/WEB-INF/tld/struts-html.tld</taglib-location>

</taglib>

I added the above lines to my web.xml but where does the struts_html.tld come from? Is this file downloaded from some place or should the IDE create it?

[345 byte] By [zpyounga] at [2007-10-2 5:38:38]
# 1

It should be part of the struts download. In the lib directory with the rest of the struts jar files.

Copy that file into your WEB-INF/tld directory of your web application.

Alternatively, remove that guff from the web.xml and use one of the following import in your jsps:

Struts 1.2 uri: <%@ taglib prefix="html" uri="http://struts.apache.org/tags-html"%>

Struts 1.1 <%@ taglib prefix="html" uri="http://jakarta.apache.org/struts/tags-html"%>

If you have struts.jar in your web-inf/lib directory it will find the tld file hidden in there.

Cheers,

evnafets

evnafetsa at 2007-7-16 1:49:01 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...