Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in classic tag handler

 
Charmy Madhvani
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am trying to put a classic tag in my jsp similar to HFSJ on page 521. But its giving me error that it cannot find the tag handler class

An error occurred at line: 15 in the jsp file: /classicTagUse.jsp
The type com.example.model.ClassicTest1 is not visible



My code is as follows
*******************************TLD************************************

**********************************************************************

***************************JSP****************************************

*******************************************************************

**************************TagHandler*******************************

***********************************************************************

Any mistake in my code?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your class must be public:
 
Charmy Madhvani
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks..Its working now..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic