This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Regarding Tag Handler Class" Watch "Regarding Tag Handler Class" New topic
Author

Regarding Tag Handler Class

Kanu Dialani
Greenhorn

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
 
GeeCON Prague 2014
 
subject: Regarding Tag Handler Class