permaculture playing cards*
The moose likes JSP and the fly likes Unable to load tag handler class - JSP Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Unable to load tag handler class - JSP Exception" Watch "Unable to load tag handler class - JSP Exception" New topic
Author

Unable to load tag handler class - JSP Exception

Schandha Ravi
Ranch Hand

Joined: Oct 20, 2007
Posts: 167
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 ?


Thanks & Regards, SK
SCJP 5.0, DB2 - 800, DB2 - 803, SCDJWS (On the way)
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60782
    
  65

Where is the "gmaci" coming from?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Schandha Ravi
Ranch Hand

Joined: Oct 20, 2007
Posts: 167
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
 
jQuery in Action, 2nd edition
 
subject: Unable to load tag handler class - JSP Exception
 
Similar Threads
Tag Attributes
Problem while Tag lib Up gradation
using custom tags & tag handler class - URGENT
Custom tag question:
Jsp Custom Tag