• Post Reply Bookmark Topic Watch Topic
  • New Topic

Regarding Tag Handler Class

 
Kanu Dialani
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!