Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

TLD XML elements in tomcat

 
Anupama Ponnapalli
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using tomcat 5.5 for experimenting with custom tags using TLDs. Everything I tried worked, but I found out just now that I was using incorrect elements in the tld xml.



JSP


how does the container find the appropriate class then?

Regards,
Anu

[ February 08, 2007: Message edited by: Anupama Ponnapalli ]

[ February 08, 2007: Message edited by: Anupama Ponnapalli ]

[ February 08, 2007: Message edited by: Anupama Ponnapalli ]
[ February 08, 2007: Message edited by: Anupama Ponnapalli ]
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The container looks for the classes i the Web-INF directory. Did you put the corresponding class there??
 
Niranjan Deshpande
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well..i do agree that the classes are in WEB-INF folder but we should get a XML / DTD parse error when the TLD is loaded !
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why should it throw a parse error???
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic