• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

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

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Look at blank lines before <?xml version="1.0" encoding="ISO-8859-1"?> in tld and web.xml
 
reply
    Bookmark Topic Watch Topic
  • New Topic