Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tag handler compilation error

 
Aneesh Kumar
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am extending SimpleTagSupport class to create a simple tag handler . I am getting run time exception
*********************************************
An error occurred at line: 16 in the jsp file: /myTag/Test1.jsp
Generated servlet error:
MyTagSupport cannot be resolved or is not a type
**********************************************

I tried adding jsp-api jar in web-inf/lib for a try .. no hope
Anybody faced this problem ??

Thanks
Aneesh
 
Edmund Yong
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you do an import of your handler class in the JSP?
 
Edmund Yong
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually I think you need to define the handler in a TLD.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic