Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp tag extension  RSS feed

Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to implement a simple jsp tag extension.However I am receiving this error
org.apache.jasper.JasperException: Unable to open taglibrary /hello : Parse Error in the tag library descriptor: XML declaration may only begin entities.

The tld looks like this

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
<info>Simple example.</info>
Could anyone guide me as to the prolem with the tld.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!