tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Axel Becker <axel.bec...@becker-coding.de>
Subject Tomcat6 with Custom TagLib Version 2.0
Date Wed, 14 Jan 2009 17:22:29 GMT

Hi,

im am trying to use tomcat 6.0.18 with taglib version 2.0.

i have an tld in tht web-inf folder with this header:

<?xml version="1.0" encoding="ISO-8859-1"?>
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
        version="2.0">
    
    <display-name>Test-TagLib</display-name>
    <tlib-version>1.0</tlib-version>
    <short-name>test</short-name>
    <uri>http://www.test.de/tags</uri>

and inludes a lot of "tag-File"s.

In my JSP i use the following to import this taglib:

<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
      xmlns="http://www.w3.org/1999/xhtml"
      xmlns:core="http://java.sun.com/jsp/jstl/core"
      xmlns:ps="http://www.test.de/tags"
      xmlns:s="/struts-tags" version="2.0" >

Access the JSP throws this Message: "Could not add one or more tag
libraries"

If i using the "old" tld like this:

  <?xml version="1.0" encoding="ISO-8859-1" ?>
  <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library
1.2//EN"
  "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">

everthing works fine.

Some ideas?

Thanks
Axel




-- 
View this message in context: http://www.nabble.com/Tomcat6-with-Custom-TagLib-Version-2.0-tp21460721p21460721.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message