Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to load tag handler class - JSP Exception

 
Schandha Ravi
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm receiving the below exception, while running my sample web application.

Exception


I have my class file defined as below:



and I have my TLD defined as


and added an element in Web.xml as below
<taglib>
<taglib-uri>CustomDate</taglib-uri>
<taglib-location>/WEB-INF/tld/CustomDate.tld</taglib-location>
</taglib>
I know this may not be needed, but just followed the steps based on an existing web.xml

Now I copied this tld under /WEB-INF/tld folder with the name CustomDate.tld

and my index.jsp is coded as



One thing which I wanted to mention here is my eclipse IDE shows an error at new Date(), saying that quotes are missing. But I have the quotes in place.

So with this, I believe all the steps are completed. But still I'm receiving this exception. What was that I missed here ?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64712
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where is the "gmaci" coming from?
 
Schandha Ravi
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bear,

While posting my question, I edited the package. In actual code com.gmaci.custom.tags is the package. I removed my company name and posted.

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic