Re: Where to put tld files for jarred custom taglibs?
Sorry about that I have no idea why I wrote Manifest when I ment web.xml All I can think of is that the JAR is not being referenced correctly in the deployment descriptor or the TLD's were not packed correctly in the META-INF of the jar. Good Luck. Mr. Ariel S. Valentin mailto: [EMAIL PROTECTED] From: "Keith Hankin" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Subject: Re: Where to put tld files for jarred custom taglibs? Date: Mon, 7 Jun 2004 11:17:54 +0530 The manifest doesnt' really have anything in it. Just the default manifest that is created from jarring with ant task. Should it have anything special for this to work? - Original Message - From: "Ariel Valentin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 06, 2004 7:14 AM Subject: Re: Where to put tld files for jarred custom taglibs? > Keith, > Have you tried unpacking the jar and see if everything is packed in the > correct directory structure and that the Manifest file has the correct info? > > Mr. Ariel S. Valentin > mailto: [EMAIL PROTECTED] > > > > > >From: "Keith Hankin" <[EMAIL PROTECTED]> > >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> > >To: "Tomcat Users List" <[EMAIL PROTECTED]> > >Subject: Re: Where to put tld files for jarred custom taglibs? > >Date: Sat, 5 Jun 2004 17:59:38 +0530 > > > >I read the article, did what it said exactly, but it *still* doesn't work. > >It keeps complaining that it cannot find "taglib.tld", but my tld file > >is not named taglib.tld. I even sent the author of that article an email > >but he didn't respond. > > > >- Original Message - > >From: "M.Hockings" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Sent: Tuesday, June 01, 2004 5:40 PM > >Subject: Re: Where to put tld files for jarred custom taglibs? > > > > > > > STOCKHOLM, Raymond wrote: > > > > How did you locate your tld in your JSP ? > > > > > > > > something like this ? > > > > <%@ taglib uri="/WEB-INF/tld/form-tags.tld" prefix="ftags" %> > > > > > > > > -Message d'origine- > > > > De : Keith Hankin [mailto:[EMAIL PROTECTED] > > > > Envoyé : mardi 1 juin 2004 08:31 > > > > À : [EMAIL PROTECTED] > > > > Objet : Where to put tld files for jarred custom taglibs? > > > > > > > > > > > > I have created a custom taglib, extending TagSupport. I have packaged > >the > > > > class files into a jar. I have also added the tld file to this jar. I > >then > > > > place this jar file in my war file under WEB-INF/lib. However, no > >matter > > > > where I place the tld file in the jar, it seems that Tomcat is unable > >to > > > > find it. I have read the documentation, which is as clear as mud on > >this > > > > issue. > > > > > > > > > Here is an article that you might find informative.. > > > > > > > >http://www.ibm.com/developerworks/java/library/j-jsp09023.html?ca=dgr-jw17j - > >jsp09023 > > > > > > Mike > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > >- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > _ > Check out the coupons and bargains on MSN Offers! http://youroffers.msn.com > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Watch the online reality show Mixed Messages with a friend and enter to win a trip to NY http://www.msnmessenger-download.click-url.com/go/onm00200497ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where to put tld files for jarred custom taglibs?
The manifest doesnt' really have anything in it. Just the default manifest that is created from jarring with ant task. Should it have anything special for this to work? - Original Message - From: "Ariel Valentin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 06, 2004 7:14 AM Subject: Re: Where to put tld files for jarred custom taglibs? > Keith, > Have you tried unpacking the jar and see if everything is packed in the > correct directory structure and that the Manifest file has the correct info? > > Mr. Ariel S. Valentin > mailto: [EMAIL PROTECTED] > > > > > >From: "Keith Hankin" <[EMAIL PROTECTED]> > >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> > >To: "Tomcat Users List" <[EMAIL PROTECTED]> > >Subject: Re: Where to put tld files for jarred custom taglibs? > >Date: Sat, 5 Jun 2004 17:59:38 +0530 > > > >I read the article, did what it said exactly, but it *still* doesn't work. > >It keeps complaining that it cannot find "taglib.tld", but my tld file > >is not named taglib.tld. I even sent the author of that article an email > >but he didn't respond. > > > >- Original Message - > >From: "M.Hockings" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Sent: Tuesday, June 01, 2004 5:40 PM > >Subject: Re: Where to put tld files for jarred custom taglibs? > > > > > > > STOCKHOLM, Raymond wrote: > > > > How did you locate your tld in your JSP ? > > > > > > > > something like this ? > > > > <%@ taglib uri="/WEB-INF/tld/form-tags.tld" prefix="ftags" %> > > > > > > > > -Message d'origine- > > > > De : Keith Hankin [mailto:[EMAIL PROTECTED] > > > > Envoyé : mardi 1 juin 2004 08:31 > > > > À : [EMAIL PROTECTED] > > > > Objet : Where to put tld files for jarred custom taglibs? > > > > > > > > > > > > I have created a custom taglib, extending TagSupport. I have packaged > >the > > > > class files into a jar. I have also added the tld file to this jar. I > >then > > > > place this jar file in my war file under WEB-INF/lib. However, no > >matter > > > > where I place the tld file in the jar, it seems that Tomcat is unable > >to > > > > find it. I have read the documentation, which is as clear as mud on > >this > > > > issue. > > > > > > > > > Here is an article that you might find informative.. > > > > > > > >http://www.ibm.com/developerworks/java/library/j-jsp09023.html?ca=dgr-jw17j - > >jsp09023 > > > > > > Mike > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > >- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > _ > Check out the coupons and bargains on MSN Offers! http://youroffers.msn.com > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where to put tld files for jarred custom taglibs?
Keith, Have you tried unpacking the jar and see if everything is packed in the correct directory structure and that the Manifest file has the correct info? Mr. Ariel S. Valentin mailto: [EMAIL PROTECTED] From: "Keith Hankin" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Subject: Re: Where to put tld files for jarred custom taglibs? Date: Sat, 5 Jun 2004 17:59:38 +0530 I read the article, did what it said exactly, but it *still* doesn't work. It keeps complaining that it cannot find "taglib.tld", but my tld file is not named taglib.tld. I even sent the author of that article an email but he didn't respond. - Original Message - From: "M.Hockings" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 01, 2004 5:40 PM Subject: Re: Where to put tld files for jarred custom taglibs? > STOCKHOLM, Raymond wrote: > > How did you locate your tld in your JSP ? > > > > something like this ? > > <%@ taglib uri="/WEB-INF/tld/form-tags.tld" prefix="ftags" %> > > > > -----Message d'origine----- > > De : Keith Hankin [mailto:[EMAIL PROTECTED] > > Envoyé : mardi 1 juin 2004 08:31 > > À : [EMAIL PROTECTED] > > Objet : Where to put tld files for jarred custom taglibs? > > > > > > I have created a custom taglib, extending TagSupport. I have packaged the > > class files into a jar. I have also added the tld file to this jar. I then > > place this jar file in my war file under WEB-INF/lib. However, no matter > > where I place the tld file in the jar, it seems that Tomcat is unable to > > find it. I have read the documentation, which is as clear as mud on this > > issue. > > > Here is an article that you might find informative.. > > http://www.ibm.com/developerworks/java/library/j-jsp09023.html?ca=dgr-jw17j- jsp09023 > > Mike > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Check out the coupons and bargains on MSN Offers! http://youroffers.msn.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where to put tld files for jarred custom taglibs?
I read the article, did what it said exactly, but it *still* doesn't work. It keeps complaining that it cannot find "taglib.tld", but my tld file is not named taglib.tld. I even sent the author of that article an email but he didn't respond. - Original Message - From: "M.Hockings" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 01, 2004 5:40 PM Subject: Re: Where to put tld files for jarred custom taglibs? > STOCKHOLM, Raymond wrote: > > How did you locate your tld in your JSP ? > > > > something like this ? > > <%@ taglib uri="/WEB-INF/tld/form-tags.tld" prefix="ftags" %> > > > > -Message d'origine- > > De : Keith Hankin [mailto:[EMAIL PROTECTED] > > Envoyé : mardi 1 juin 2004 08:31 > > À : [EMAIL PROTECTED] > > Objet : Where to put tld files for jarred custom taglibs? > > > > > > I have created a custom taglib, extending TagSupport. I have packaged the > > class files into a jar. I have also added the tld file to this jar. I then > > place this jar file in my war file under WEB-INF/lib. However, no matter > > where I place the tld file in the jar, it seems that Tomcat is unable to > > find it. I have read the documentation, which is as clear as mud on this > > issue. > > > Here is an article that you might find informative.. > > http://www.ibm.com/developerworks/java/library/j-jsp09023.html?ca=dgr-jw17j- jsp09023 > > Mike > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where to put tld files for jarred custom taglibs?
STOCKHOLM, Raymond wrote: How did you locate your tld in your JSP ? something like this ? <%@ taglib uri="/WEB-INF/tld/form-tags.tld" prefix="ftags" %> -Message d'origine- De : Keith Hankin [mailto:[EMAIL PROTECTED] Envoyé : mardi 1 juin 2004 08:31 À : [EMAIL PROTECTED] Objet : Where to put tld files for jarred custom taglibs? I have created a custom taglib, extending TagSupport. I have packaged the class files into a jar. I have also added the tld file to this jar. I then place this jar file in my war file under WEB-INF/lib. However, no matter where I place the tld file in the jar, it seems that Tomcat is unable to find it. I have read the documentation, which is as clear as mud on this issue. Here is an article that you might find informative.. http://www.ibm.com/developerworks/java/library/j-jsp09023.html?ca=dgr-jw17j-jsp09023 Mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where to put tld files for jarred custom taglibs?
OK, but I want the tld file to be in my jar file. I want it packaged along with the class files that implement the taglib functionality. - Original Message - From: "STOCKHOLM, Raymond" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, June 01, 2004 12:56 PM Subject: RE: Where to put tld files for jarred custom taglibs? > I put the tld file in $MYAPPLICATION/WEB-INF/tld/form-tags.tld > > My application is delivered as a war (which tomcat expands), > and contains $MYAPPLICATION/WEB-INF/tld/form-tags.tld > > (I don't have any other jar, except the war) > > -Message d'origine- > De : Keith Hankin [mailto:[EMAIL PROTECTED] > Envoyé : mardi 1 juin 2004 09:19 > À : Tomcat Users List > Objet : Re: Where to put tld files for jarred custom taglibs? > > > Where did you put the tld file in your jar file? Did you also put the jar > into a war file? > > - Original Message - > From: "STOCKHOLM, Raymond" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Tuesday, June 01, 2004 12:44 PM > Subject: RE: Where to put tld files for jarred custom taglibs? > > > > web.xml : > > > >form-tags > >/WEB-INF/tld/form-tags.tld > > > > JSP : > > <%@ taglib uri="/WEB-INF/tld/form-tags.tld" prefix="ftags" %> > > > > > > I declared as above, and it worked for me, don't ask me why :-) > > > > > > -Message d'origine- > > De : Keith Hankin [mailto:[EMAIL PROTECTED] > > Envoyé : mardi 1 juin 2004 09:01 > > À : Tomcat Users List > > Objet : Re: Where to put tld files for jarred custom taglibs? > > > > > > I locate it as follows: <%@ taglib > uri="http://website.com/mypkg/mytags.tld"; > > prefix="mypref" %> > > , then in my web.xml have the following: > > > > > > http://website.com/mypkg/mytags.tld > > > > > > /mytags.tld > > > > > > > > I also try specifying taglib-location as /META-INF/mytags.tld, > > /WEB-INF/mytags.tld, etc. > > > > - Original Message - > > From: "STOCKHOLM, Raymond" <[EMAIL PROTECTED]> > > To: "Tomcat Users List" <[EMAIL PROTECTED]> > > Sent: Tuesday, June 01, 2004 12:09 PM > > Subject: RE: Where to put tld files for jarred custom taglibs? > > > > > > > How did you locate your tld in your JSP ? > > > > > > something like this ? > > > <%@ taglib uri="/WEB-INF/tld/form-tags.tld" prefix="ftags" %> > > > > > > -Message d'origine- > > > De : Keith Hankin [mailto:[EMAIL PROTECTED] > > > Envoyé : mardi 1 juin 2004 08:31 > > > À : [EMAIL PROTECTED] > > > Objet : Where to put tld files for jarred custom taglibs? > > > > > > > > > I have created a custom taglib, extending TagSupport. I have packaged > the > > > class files into a jar. I have also added the tld file to this jar. I > then > > > place this jar file in my war file under WEB-INF/lib. However, no matter > > > where I place the tld file in the jar, it seems that Tomcat is unable to > > > find it. I have read the documentation, which is as clear as mud on this > > > issue. > > > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Where to put tld files for jarred custom taglibs?
I put the tld file in $MYAPPLICATION/WEB-INF/tld/form-tags.tld My application is delivered as a war (which tomcat expands), and contains $MYAPPLICATION/WEB-INF/tld/form-tags.tld (I don't have any other jar, except the war) -Message d'origine- De : Keith Hankin [mailto:[EMAIL PROTECTED] Envoyé : mardi 1 juin 2004 09:19 À : Tomcat Users List Objet : Re: Where to put tld files for jarred custom taglibs? Where did you put the tld file in your jar file? Did you also put the jar into a war file? - Original Message - From: "STOCKHOLM, Raymond" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, June 01, 2004 12:44 PM Subject: RE: Where to put tld files for jarred custom taglibs? > web.xml : > >form-tags >/WEB-INF/tld/form-tags.tld > > JSP : > <%@ taglib uri="/WEB-INF/tld/form-tags.tld" prefix="ftags" %> > > > I declared as above, and it worked for me, don't ask me why :-) > > > -Message d'origine- > De : Keith Hankin [mailto:[EMAIL PROTECTED] > Envoyé : mardi 1 juin 2004 09:01 > À : Tomcat Users List > Objet : Re: Where to put tld files for jarred custom taglibs? > > > I locate it as follows: <%@ taglib uri="http://website.com/mypkg/mytags.tld"; > prefix="mypref" %> > , then in my web.xml have the following: > > > http://website.com/mypkg/mytags.tld > > > /mytags.tld > > > > I also try specifying taglib-location as /META-INF/mytags.tld, > /WEB-INF/mytags.tld, etc. > > ----- Original Message - > From: "STOCKHOLM, Raymond" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Tuesday, June 01, 2004 12:09 PM > Subject: RE: Where to put tld files for jarred custom taglibs? > > > > How did you locate your tld in your JSP ? > > > > something like this ? > > <%@ taglib uri="/WEB-INF/tld/form-tags.tld" prefix="ftags" %> > > > > -Message d'origine- > > De : Keith Hankin [mailto:[EMAIL PROTECTED] > > Envoyé : mardi 1 juin 2004 08:31 > > À : [EMAIL PROTECTED] > > Objet : Where to put tld files for jarred custom taglibs? > > > > > > I have created a custom taglib, extending TagSupport. I have packaged the > > class files into a jar. I have also added the tld file to this jar. I then > > place this jar file in my war file under WEB-INF/lib. However, no matter > > where I place the tld file in the jar, it seems that Tomcat is unable to > > find it. I have read the documentation, which is as clear as mud on this > > issue. > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where to put tld files for jarred custom taglibs?
Where did you put the tld file in your jar file? Did you also put the jar into a war file? - Original Message - From: "STOCKHOLM, Raymond" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, June 01, 2004 12:44 PM Subject: RE: Where to put tld files for jarred custom taglibs? > web.xml : > >form-tags >/WEB-INF/tld/form-tags.tld > > JSP : > <%@ taglib uri="/WEB-INF/tld/form-tags.tld" prefix="ftags" %> > > > I declared as above, and it worked for me, don't ask me why :-) > > > -Message d'origine- > De : Keith Hankin [mailto:[EMAIL PROTECTED] > Envoyé : mardi 1 juin 2004 09:01 > À : Tomcat Users List > Objet : Re: Where to put tld files for jarred custom taglibs? > > > I locate it as follows: <%@ taglib uri="http://website.com/mypkg/mytags.tld"; > prefix="mypref" %> > , then in my web.xml have the following: > > > http://website.com/mypkg/mytags.tld > > > /mytags.tld > > > > I also try specifying taglib-location as /META-INF/mytags.tld, > /WEB-INF/mytags.tld, etc. > > ----- Original Message - > From: "STOCKHOLM, Raymond" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Tuesday, June 01, 2004 12:09 PM > Subject: RE: Where to put tld files for jarred custom taglibs? > > > > How did you locate your tld in your JSP ? > > > > something like this ? > > <%@ taglib uri="/WEB-INF/tld/form-tags.tld" prefix="ftags" %> > > > > -Message d'origine- > > De : Keith Hankin [mailto:[EMAIL PROTECTED] > > Envoyé : mardi 1 juin 2004 08:31 > > À : [EMAIL PROTECTED] > > Objet : Where to put tld files for jarred custom taglibs? > > > > > > I have created a custom taglib, extending TagSupport. I have packaged the > > class files into a jar. I have also added the tld file to this jar. I then > > place this jar file in my war file under WEB-INF/lib. However, no matter > > where I place the tld file in the jar, it seems that Tomcat is unable to > > find it. I have read the documentation, which is as clear as mud on this > > issue. > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Where to put tld files for jarred custom taglibs?
web.xml : form-tags /WEB-INF/tld/form-tags.tld JSP : <%@ taglib uri="/WEB-INF/tld/form-tags.tld" prefix="ftags" %> I declared as above, and it worked for me, don't ask me why :-) -Message d'origine- De : Keith Hankin [mailto:[EMAIL PROTECTED] Envoyé : mardi 1 juin 2004 09:01 À : Tomcat Users List Objet : Re: Where to put tld files for jarred custom taglibs? I locate it as follows: <%@ taglib uri="http://website.com/mypkg/mytags.tld"; prefix="mypref" %> , then in my web.xml have the following: http://website.com/mypkg/mytags.tld /mytags.tld I also try specifying taglib-location as /META-INF/mytags.tld, /WEB-INF/mytags.tld, etc. - Original Message - From: "STOCKHOLM, Raymond" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, June 01, 2004 12:09 PM Subject: RE: Where to put tld files for jarred custom taglibs? > How did you locate your tld in your JSP ? > > something like this ? > <%@ taglib uri="/WEB-INF/tld/form-tags.tld" prefix="ftags" %> > > -Message d'origine----- > De : Keith Hankin [mailto:[EMAIL PROTECTED] > Envoyé : mardi 1 juin 2004 08:31 > À : [EMAIL PROTECTED] > Objet : Where to put tld files for jarred custom taglibs? > > > I have created a custom taglib, extending TagSupport. I have packaged the > class files into a jar. I have also added the tld file to this jar. I then > place this jar file in my war file under WEB-INF/lib. However, no matter > where I place the tld file in the jar, it seems that Tomcat is unable to > find it. I have read the documentation, which is as clear as mud on this > issue. > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where to put tld files for jarred custom taglibs?
I locate it as follows: <%@ taglib uri="http://website.com/mypkg/mytags.tld"; prefix="mypref" %> , then in my web.xml have the following: http://website.com/mypkg/mytags.tld /mytags.tld I also try specifying taglib-location as /META-INF/mytags.tld, /WEB-INF/mytags.tld, etc. - Original Message - From: "STOCKHOLM, Raymond" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, June 01, 2004 12:09 PM Subject: RE: Where to put tld files for jarred custom taglibs? > How did you locate your tld in your JSP ? > > something like this ? > <%@ taglib uri="/WEB-INF/tld/form-tags.tld" prefix="ftags" %> > > -Message d'origine- > De : Keith Hankin [mailto:[EMAIL PROTECTED] > Envoyé : mardi 1 juin 2004 08:31 > À : [EMAIL PROTECTED] > Objet : Where to put tld files for jarred custom taglibs? > > > I have created a custom taglib, extending TagSupport. I have packaged the > class files into a jar. I have also added the tld file to this jar. I then > place this jar file in my war file under WEB-INF/lib. However, no matter > where I place the tld file in the jar, it seems that Tomcat is unable to > find it. I have read the documentation, which is as clear as mud on this > issue. > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Where to put tld files for jarred custom taglibs?
How did you locate your tld in your JSP ? something like this ? <%@ taglib uri="/WEB-INF/tld/form-tags.tld" prefix="ftags" %> -Message d'origine- De : Keith Hankin [mailto:[EMAIL PROTECTED] Envoyé : mardi 1 juin 2004 08:31 À : [EMAIL PROTECTED] Objet : Where to put tld files for jarred custom taglibs? I have created a custom taglib, extending TagSupport. I have packaged the class files into a jar. I have also added the tld file to this jar. I then place this jar file in my war file under WEB-INF/lib. However, no matter where I place the tld file in the jar, it seems that Tomcat is unable to find it. I have read the documentation, which is as clear as mud on this issue. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Where to put tld files for jarred custom taglibs?
I have created a custom taglib, extending TagSupport. I have packaged the class files into a jar. I have also added the tld file to this jar. I then place this jar file in my war file under WEB-INF/lib. However, no matter where I place the tld file in the jar, it seems that Tomcat is unable to find it. I have read the documentation, which is as clear as mud on this issue. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]