• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Unable to load tag handler class - JSP Exception

 
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where is the "gmaci" coming from?
 
Schandha Ravi
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic