This week's giveaway is in the Threads forum.
We're giving away four copies of Java Concurrency Live Lessons and have Doug Schmidt on-line!
See this thread for details.
Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Looking for your help in fixing a issue in tag library.  RSS feed

 
scart scott
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When i'm trying to use a custom tag library in my jsp pages i'm getting
" The processing instruction target matching "[xX][mM][lL]" is not allowed."

Tomcat version: 5.5

This is my web.xml and tld file:

web.xml:


my tld file:



my jsp page:



My function class:


when i'm trying to deploy my application i'm getting "The processing instruction target matching "[xX][mM][lL]" is not allowed." exception

Any help in this regard will be appreciated.
 
Pedro Erencia
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at blank lines before <?xml version="1.0" encoding="ISO-8859-1"?> in tld and web.xml
 
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!