File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Simple Tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Simple Tag" Watch "Simple Tag" New topic
Author

Simple Tag

Nabila Mohammad
Ranch Hand

Joined: Nov 05, 2007
Posts: 661
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!


The future belongs to those who believe in the beauty of their dreams.Dream BIG!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41032
    
  43
Do you really have a space character between "<?" and "xml"? If so, remove it.


Ping & DNS - my free Android networking tools app
Nabila Mohammad
Ranch Hand

Joined: Nov 05, 2007
Posts: 661
ohh .. This ws simple.
Thanks!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Simple Tag
 
Similar Threads
CustomTag
Unable to load tag handler class!!!
taglib problem in Netbeans
simple tags
cannot find the declaration of element taglib