• Post Reply Bookmark Topic Watch Topic
  • New Topic

Trying out some Classic TagHandlers

 
C Shinde
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I was trying out trying out some classic tag handlers.
Just to be sure that I followed the right process I will share what I did:

I created a Dynamic Web Project, Implemented a Class implementing say TagSupport class. Wrote a TLD file and placed it in the WEB-INF of the Web Proj. In this TLD I have mentioned a URI that I am going to refer to in the taglib directive of the JSP in another Dynamic Web Project. I create the JAR file of this project with only the class and the needed TLD file in the JAR and place it in the lib directory of my second Web Project that is going to use this Tag.
My Problem is that even if I can see the Tag file and the class at compile time I am not able to see the class at run time and I get the error 'File "/WEB-INF/Tag" not found'.

Am I missing something? As I have tried a couple of examples and am stuck at this point.

Thanks in Advance.
 
C Shinde
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well I got 1 issue that I fixed and now I am able to use the Tags!. When you use Tags as Jars the tlds need to be placed in the META-INF. Which I was not doing!.

Problem Solved!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!