my dog learned polymorphism
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Regarding Tag Handler Class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Regarding Tag Handler Class" Watch "Regarding Tag Handler Class" New topic

Regarding Tag Handler Class

Kanu Dialani

Joined: Apr 30, 2005
Posts: 23
I have a simple tag handler class that works fine when i put it inside a package. but when i place that file in WEB-INF/CLASSES/ and change the configurations accordingly, Tomcat gives me an error. Can some 1 please tell me if there is a requirement to place tag handlers in a package.

Thank You
Leandro Melo
Ranch Hand

Joined: Mar 27, 2004
Posts: 401
If it's just the single class, it should be, for example, under WEB-INF/classes/my/package/MyClass.class.
But if it's inside a .jar file, it should be under WEB-INF/lib/myjar.jar (naturally, the class must be correctly located in the jar).

Leandro Melo
SCJP 1.4, SCWCD 1.4
I agree. Here's the link:
subject: Regarding Tag Handler Class
It's not a secret anymore!