This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
Similar Threads
Custom Tag NOT Compiling
custom tag question
custum tag
Can't deploy code for taglibs on Tomcat 5.5