I'm using:
Java SDK 1.4.2_03,
Java J2EE 1.4
jakarta-taglibs-standard-1.0.5
jakarta-tomcat-4.1.30
I've had no trouble using the core, sql, and fmt tags in my JSPs.
***All I did was to drop jstl.jar and standard.jar into my WEB-INF
directory and add the proper directives to the JSPs***
for example:
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jstl/sql" prefix="sql" %>
I do/did not need to add anything at all the app's web.xml.
I'm working on a quite large and controlled application, so the
fewer changes I make the better. Its very cool that I could
use tags just by adding the jars to the lib dir....
The problem:
Now, I have occasion to want to use c-rt as well. (Especially
because its too burdensome to pass data back and forth between
the tags and java kingdoms thru the page context for simple
string manipulations..)
As soon as I try to use c-rt, problems begin..
I cannot just add:
<%@ taglib uri="http://java.sun.com/jstl/core-rt" prefix="c-rt" %>
because the uri is not found on page compile. If I add a direct
reference for this URI to my web.xml, then this URI is Ok. i.e.
<taglib>
<taglib-uri>http://java.sun.com/jstl/core-rt</taglib-uri>
<taglib-location>/WEB-INF/lib/standard.jar</taglib-location>
</taglib>
fixes the c-rt issue, but now --none-- of the sql tag impls can be
found... even if I add another direct reference for them to the
web.xml, for example, adding:
<taglib>
<taglib-uri>http://java.sun.com/jstl/sql</taglib-uri>
<taglib-location>/WEB-INF/lib/standard.jar</taglib-location>
</taglib>
to the web.xml does not help.
For now I give up using c-rt, but...
Seems very strange, any ideas? Does this seem a familiar problem?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]