This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tomcat 5.028 not able load tag handler class  RSS feed

 
Anoop Krishnan
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I created a simple custom tag lib my classfile lies in com.financial.jsptools.datagrid.taglib.Test I have a tld
in WEB-INF/tld/datagrid.tld
but when I query my jsp file I get the following exception

org.apache.jasper.JasperException: /app/index.jsp(13,0) Unable to load tag handler class "com.financial.jsptools.datagrid.taglib.Test" for tag "fcom:simple"

I couldn't find a solution yet.


My tld is as follows


The index.jsp is given below
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the handler class in the classpath?
 
Sachin Kediyal
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess you have to register the tld [Tag library descriptor] in web.xml
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sachin Kediyal:
I guess you have to register the tld [Tag library descriptor] in web.xml


No, this is not needed,
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!