I have written an app.tld file as follows:
<?xml version="1.0"  ?>
<!DOCTYPE taglib
  PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
  "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd";>
<taglib>
     <tlibversion>1.0</tlibversion>
     <jspversion>1.1</jspversion>
     <shortname>User</shortname>
     <info>This tag library contains employee tag extensions</info>
     <tag>
          <name>departmentList</name>
          <tagclass>com.example.DepartmentTag</tagclass>
          <bodycontent>empty</bodycontent>
     </tag>
     <tag>
          <name>skillsList</name>
          <tagclass>com.example.SkillsTag</tagclass>
          <bodycontent>empty</bodycontent>
     </tag>
</taglib>

Whenever I try to access my application I get the following error:
org.apache.jasper.JasperException: XML parsing error on file /WEB-INF/app.tld: Invalid 
PUBLIC ID: -//Sun MicroSystems, Inc.//DTD JSP Tag Library 1.1//EN

I am not sure what I am doing wrong, but I have also noticed when ever I start Tomcat 
I get:
XmlMapper: Can't find resource for entity: -//Sun MicroSystems, Inc.//DTD JSP Tag 
Library 1.1//EN --> http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd "null"
Then my PC attempts to connect to internet (ive tried starting server already 
connected) I dont really know whats going wrong as the URLs do exist as Ive pointed my 
browser at them
Please help.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to