You
can either reference a tag library descriptor or an tag library archive in
web.xml.
Some
application servers are lacking this basic functionality, but not
Orion.
See
the specifications for more details.
WR
Normally taglib-location (in web.xml) points to a
.tld file, tag library descriptor also in web-inf.
<taglib-location>/WEB-INF/xyz.tld</taglib-location>
I've not seen this point to a jar in web-inf/lib
before. Perhaps that works but I've not seen it.
Burr
[EMAIL PROTECTED]
----- Original Message -----
Sent: Thursday, March 22, 2001 3:50
AM
Subject: Tag libraries
Dear
Team
I have Orion
1.4.7/JDK1.3/Windows 2000 and I have a problem when I try
to use several tag libraries in one JSP page.
Here are my
code:
in the JSP
page:
<%@ taglib uri="vsece-taglib"
prefix="vsece" %> <%@ taglib uri="vsdev-taglib"
prefix="vsdev" %>
in
WEB-INF/web.xml
<taglib>
<taglib-uri>vsece-taglib</taglib-uri>
<taglib-location>/WEB-INF/lib/vsece-taglib.jar</taglib-location>
</taglib>
<taglib>
<taglib-uri>vsdev-taglib</taglib-uri>
<taglib-location>/WEB-INF/lib/vsdev-taglib.jar</taglib-location>
</taglib>
and the .jar
files are in WEB-INF/lib directory.
But Orion seams
that it doesn't realize my second tag library. Would you tell me where I
have failed?
Thanks in
advanced
|