• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

TLD XML elements in tomcat  RSS feed

 
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 ]
 
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??
 
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
Boost this thread!