Forums Register Login

TagLib Compilation Error

+Pie Number of slices to send: Send
Hello, perhaps you can help me figure out why I got error that says: "INTERNAL SERVLET ERROR, Parse error in tag library descriptor, next character must be '>' terminating declaration. I checked every opening and closing tags but still got the same error.
I'm using tomcat3.1 and I have my own directory (ted directory) under webapps directory so the path is c:\tomcat\webapps\ted
I placed my tag handler class in classes folder in ...ted\web-inf\classes and my tag library descriptor in ...ted\web-inf\tlds I placed the jsp file that imports the tag library in ted directory. Actually, I am just copied the example given in the book (Professional Java Server Programming) but it does not work.
I did not package the files into .war or .jar files. Is there someone our there who also had the same experience? Howcome it did not work--I just copied the codes (word for word) from the book.
Also, if I am deploying it without packaging the files, what should I write in "uri=" in my jsp file if I placed my descriptor in ...ted\web-inf\tlds?
<%@ taglib uri="?" prefix="examples" %>
In the book, it is written as <%@ taglib uri="./hello.tld" prefix="examples" %> but still, it did not work. I hope someone can help me run this simple tag.

+Pie Number of slices to send: Send
Coul�d you please post the code, or send me at:
mmaia@linkexpress.com.br or mmaia@mrbrasilia.com.br.
rgds.
+Pie Number of slices to send: Send
Thanks Marcos for replying. I already found the parse error. Apparently, there was a mispelled word inside my < !DOCTYPE tag taht caused the error. I never realized this error until I ran my files in Resin-1.2.5. When I ran my files there, it also gave me an parse error but it identified the specific word that was causing the error. Well, I guess Tomcat is not that user-friendly--but I'm still using it though. It pays to have several runners on your PC.
I appreciate your giving some thoughts to my problem.
incandescent light gives off an efficient form of heat. You must be THIS smart to ride this ride. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 584 times.
Similar Threads
HFSJ final mock exam quetion 54 - taglib and uri
Exam question errata? help please
Final mock exam question 54
HFSJ Final Mock Question 54
TagLib Error
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 17:29:50.