On my jsp I use invoke the taglib with:
<%@ taglib uri="/isumtags.jar" prefix="isum" %>

Then on the web.xml  what should I put?

<?xml version="1.0"?>
     <!DOCTYPE web-application SYSTEM "web-application.dtd">

     <web-app>
          <display-name>My Web app</display-name>
          <description>
               This is my web app
          </description>

          <taglib>
               <taglib-uri>/isumtags.jar</taglib-uri>
               <taglib-location>/WEB-INF/lib/isumtags.jar</taglib-location>
          </taglib>

          <welcome-file-list>
               <welcome-file>index.html</welcome-file>
          </welcome-file-list>
     </web-app>
Magnus Rydin wrote:

 

You should specify the taglib your application uses in web.xml (preferable).
If your Taglibs are jar:ed, you put them in the web-app/WEB-INF/lib directory
otherwize, you put them in your web-app/WEB-INF/classes directory

> -----Original Message-----
> From: Ismael Blesa Part [mailto:[EMAIL PROTECTED]]
> Sent: den 28 augusti 2000 13:25
> To: Orion-Interest
> Subject: When usin taglibs where to put the jarfile on the deploytool?
>
>
> I am using taglibs on my project.
>
> now I am trying to create an ear file using the j2ee 1.2.1
> deploy tool.
> Where should I specify that I am using taglibs and where to
> put the jar
> files?
>
> Thanks
>

Reply via email to