With your version of TC you don't need the TLD files, so remove them from
WEB-INF (including the Struts TLD files). For JSTL the only JAR files you need are:

jaxen-full.jar
jstl.jar
saxpath.jar
standard.jar

So remove dom.jar, jaxp-api.jar, jdbc2_0-stdext.jar, sax.jar, xalan.jar, and
xercesImpl.jar from WEB-INF/lib.

Remove the <taglib> elements from web.xml (including any for Struts taglibs).
Use the following taglib directives in your JSP:

JSTL:
-----
<%@ taglib prefix="c"      uri="http://java.sun.com/jstl/core"; %>
<%@ taglib prefix="c_rt"   uri="http://java.sun.com/jstl/core_rt"; %>
<%@ taglib prefix="fmt"    uri="http://java.sun.com/jstl/fmt"; %>
<%@ taglib prefix="fmt_rt" uri="http://java.sun.com/jstl/fmt_rt"; %>
<%@ taglib prefix="sql"    uri="http://java.sun.com/jstl/sql"; %>
<%@ taglib prefix="sql_rt" uri="http://java.sun.com/jstl/sql_rt"; %>
<%@ taglib prefix="x"      uri="http://java.sun.com/jstl/xml"; %>
<%@ taglib prefix="x_rt"   uri="http://java.sun.com/jstl/xml_rt"; %>

Struts-EL:
----------
<%@ taglib prefix="bean-el"
           uri="http://jakarta.apache.org/struts/tags-bean-el"; %>
<%@ taglib prefix="html-el"
           uri="http://jakarta.apache.org/struts/tags-html-el"; %>
<%@ taglib prefix="logic-el"
           uri="http://jakarta.apache.org/struts/tags-logic-el"; %>

Struts:
-------
<%@ taglib prefix="bean"   uri="http://jakarta.apache.org/struts/tags-bean"; %>
<%@ taglib prefix="html"   uri="http://jakarta.apache.org/struts/tags-html"; %>
<%@ taglib prefix="logic"  uri="http://jakarta.apache.org/struts/tags-logic"; %>
<%@ taglib prefix="nested" uri="http://jakarta.apache.org/struts/tags-nested"; %>
<%@ taglib prefix="tiles"  uri="http://jakarta.apache.org/struts/tags-tiles"; %>


Quoting C F <[EMAIL PROTECTED]>:

> Even the standard-examples.war application does not
> work so I'm wondering if it's not necessarily my
> taglib configuration.  I began to wonder if I had some
> weird XML library in my path that was hosing
> everything up.  So I reinstalled my JDK (1.4.1_02) and
> Tomcat... but it had no effect.  Okay, here are more
> specifics along with a snip from my web.xml.  I've
> tried many variations of the configs you see below...
> such as jars only without tld's... or only tld's
> without jars.... tld's with/without web.xml entries...
> etc., etc.... very frustrated :)

8< snip >8

-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

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

Reply via email to