URI = "Uniform Resource Identifier" -> just an identifier !
2008/1/14, AsafM <[EMAIL PROTECTED]>: > > > You are correct. I removed the reference from the web.xml and it worked. > > To summarize what you said: > 1. Place the taglibs jar file in your classpath > 2. Use the <[EMAIL PROTECTED] uri=...%> with the string located in the <uri> > element > in the .TLD file of the taglib you wish to use. > > Just to verify: > The URI is no really referring to a real resource on the web, it's > just > a unique name for the taglib, right? > > Thank alot for your help! Saved me a few hours of research! > > Asaf > > nicolas de loof-3 wrote: > > > > The URI is defined by the taglib developers > > > > for example, Struts1 taglibs use : > > <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %> > > (@see http://struts.apache.org/1.x/userGuide/configuration.html) > > > > You then don't have to specify anything in your web.xml > > > > The web.xml <taglib> element is for your application tags, not for tags > > imported from packaged libraries. > > > > Nico. > > > > 2008/1/13, AsafM <[EMAIL PROTECTED]>: > >> > >> > >> So basically, the URI is chosen arbitrary, as long as it's the same > value > >> in > >> the web.xml and in the <%@ taglib%> directive? > >> > >> > >> nicolas de loof-3 wrote: > >> > > >> > taglibs don't require to have TLD files extracted from jars as long > as > >> you > >> > use the taglib URI in your JSP <%@ taglib %> directives. Use maven to > >> get > >> > jars in your web-inf/lib and all taglibs will be detected at server > >> > startup. > >> > > >> > Nico. > >> > > >> > > >> > 2008/1/13, AsafM <[EMAIL PROTECTED]>: > >> >> > >> >> > >> >> Hi All, > >> >> > >> >> I have a web application we're developing, using servlets and JSP's > >> on > >> >> JBoss with embedded Tomcat. > >> >> > >> >> We want to use Jakarta taglib, which comes as a JAR file from maven > >> >> repository (the global one). > >> >> > >> >> The problem is that using it requires a manual-copy step of the .TLD > >> >> files > >> >> from the META-INF directory in the JAR file to our > >> >> src/main/webapp/WEB-INF > >> >> directory. > >> >> > >> >> (See instructions in > >> http://jakarta.apache.org/taglibs/binarydist.html > >> >> instructions for installing Jakara Taglibs ) > >> >> > >> >> Has anyone used Jakarta Taglibs together with maven and solved > this? > >> >> -- > >> >> View this message in context: > >> >> > >> > http://www.nabble.com/Working-with-Jakarta-taglibs---question-tp14787960s177p14787960.html > >> >> Sent from the Maven - Users mailing list archive at Nabble.com. > >> >> > >> >> > >> >> > --------------------------------------------------------------------- > >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> >> For additional commands, e-mail: [EMAIL PROTECTED] > >> >> > >> >> > >> > > >> > > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/Working-with-Jakarta-taglibs---question-tp14787960s177p14789639.html > >> Sent from the Maven - Users mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/Working-with-Jakarta-taglibs---question-tp14787960s177p14799205.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
