Return-Path: Delivered-To: apmail-jakarta-taglibs-user-archive@apache.org Received: (qmail 48460 invoked from network); 26 Nov 2001 14:38:49 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 26 Nov 2001 14:38:49 -0000 Received: (qmail 14257 invoked by uid 97); 26 Nov 2001 14:38:45 -0000 Delivered-To: qmlist-jakarta-archive-taglibs-user@jakarta.apache.org Received: (qmail 14240 invoked by uid 97); 26 Nov 2001 14:38:42 -0000 Mailing-List: contact taglibs-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tag Libraries Users List" Reply-To: "Tag Libraries Users List" Delivered-To: mailing list taglibs-user@jakarta.apache.org Received: (qmail 14229 invoked from network); 26 Nov 2001 14:38:42 -0000 Message-ID: <003001c17688$63dde1c0$214ea4c2@kfvsu> From: "Nick de Voil" To: "Tag Libraries Users List" References: Subject: Re: Getting my JRun taglib working with Tomcat 3.2.3 Date: Mon, 26 Nov 2001 14:39:44 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanks a lot everyone for the help. I got it working. This is what I ended up doing in case anyone's interested: 1. Make each taglib into its own Java package 2. Create a subdirectory for each one called META-INF 3. Put the TLD for each taglib into the appropriate META-INF directory 4. Rename all TLD's to "taglib.tld" 5. For each taglib, package the classes plus the META-INF directory into a jar file 6. Put the jar file into WEB-INF/lib 7. In web.xml, map the taglib URI to point to the jar file 8. Also put the class files for the tag handlers into the tree structure under WEB-INF/classes That setup works for both Tomcat 3.2.3 and JRun 3.0. Nick ----- Original Message ----- From: Lenharcik Juraj To: Tag Libraries Users List Sent: Friday, November 23, 2001 9:25 AM Subject: AW: Getting my JRun taglib working with Tomcat 3.2.3 > Gruess Gott Nick, > > you have to insert a entry for your taglib in the web.xml. > > .... > > /WEB-INF/struts.tld > /WEB-INF/struts.tld > > .... > > and dont forget to insert something like this in your jsp: > > <%@ taglib uri="/WEB-INF/struts-form.tld" prefix="form" %> > <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> > <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>.... > > > > -----Urspr�ngliche Nachricht----- > Von: Nick de Voil [mailto:nick@devoil.com] > Gesendet: Freitag, 23. November 2001 10:10 > An: Tag Libraries Users List > Betreff: Re: Getting my JRun taglib working with Tomcat 3.2.3 > > > Gruess Gott Christian! > > > you can put your custom tag classes either in the WEB-INF/classes or - as > a > > JAR-file - in the WEB-INF/lib directory. The TLD must be located somewhere > > in > > the WEB-INF/... directory. It's a good practice to put them in a separate > > directory, such as WEB-INF/tlds (Don't forget to adapt the taglib > directive > > in > > your JSP). > > Thanks. What about the web.xml file? Do I have to have that? > > Nick > > > > -- > To unsubscribe, e-mail: > > For additional commands, e-mail: > > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > -- To unsubscribe, e-mail: For additional commands, e-mail: