wood burning stoves*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Problem in classic tag handler Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Problem in classic tag handler" Watch "Problem in classic tag handler" New topic
Author

Problem in classic tag handler

Charmy Madhvani
Ranch Hand

Joined: Dec 26, 2007
Posts: 59
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?


SCJP 5.0<br />SCWCD 5.0
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Your class must be public:


[My Blog]
All roads lead to JavaRanch
Charmy Madhvani
Ranch Hand

Joined: Dec 26, 2007
Posts: 59
Thanks..Its working now..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in classic tag handler
 
Similar Threads
Tag Handler - how to capture body of a tag???
Unable to use El in custom tags
empty body TLD & doStartTag return value
Unable to have tagdependent as body content for a classic tag
Unable to load tag handler class