The taglib-location element is relative to the context as in /WEB-INF/tld/myfaces_core.tld

--David

Ach wrote:

I entered below section in my web.xml because of not repeating <%@ taglib=blaBla in each jsf page: <jsp-config>
   <taglib>
   <taglib-uri>http://java.sun.com/jsf/core</taglib-uri>
   <tablig-location>/tld/myfaces_core.tld</taglib-location>
   </taglib>
   <taglib>
   <taglib-uri>http://java.sun.com/jsf/html</taglib-uri>
   <tablig-location>/tld/myfaces_html.tld</taglib-location>
   </taglib>
   <taglib>
   <taglib-uri>http://myfaces.apache.org/tomahawk</taglib-uri>
   <tablig-location>/tld/tomahawk.tld</taglib-location>
   </taglib>
  </jsp-config>

It seems that it does not work for me. Is there another way to achieve my
goal?

PS: I am using eclipse wtp and my directory schema is such as:
MyApp/WebContent/WEB-INF/tld and all tld files are in this tld folder.

-Thanks in advance


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to