Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Simple Tag

 
Nabila Mohammad
Ranch Hand
Posts: 664
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying this code from HFSJ pg 514 and not being able to run this.


My useTag.jsp file



My simple.tld file



And my SimpleTagTest1.java file




I am getting the error Unable to initialize TldLocationsCache: XML parsing error on file /WEB-INF/simple.tld: (line 1, col 3)

Can some one help me with this?

thanks!
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you really have a space character between "<?" and "xml"? If so, remove it.
 
Nabila Mohammad
Ranch Hand
Posts: 664
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ohh .. This ws simple.
Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic