Monday, September 28, 2009

Using Custom Tag

After working for a whole week on custom tags, I have face number of basic issues that are now resolved. The issues are:

  • I have'nt package the "java class" due to which .tld file not resolving the tag.
  • I have created my own Tag interface and use it in my java class. This causes following exception "The method reuse(Tag) in the type TagHandlerPool is not applicable for the arguments"
Now the java file is packaged and the Tag interface was implemented from the following package "javax.servlet.jsp.tagext.Tag". Its fine now ;)

No comments: