Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

tomcat 4.1.24 and custom tags  RSS feed

 
Marion Schwarz
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody,
I have a problem using custom tags with tomcat.
Although my taglib implements standard methods like

all I get is a JasperException telling me

What's going wrong here ?
 
Marion Schwarz
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sad, but true, I have to quote from another java forum to answer my question.
;-)
> (...)is using introspection for creating setter and getter methods.
> Every class implicitly or explicitly extends java.lang.Object which contains
> a method called getClass() which returns a Class object. Since your
> setClass() method is not likely to be doing anything with a Class object,
> introspection is failing to find the getter/setter methods since the types
> are mismatched. In general, the word class should be considered a reserved
> word since the word "class" has a special meaning in java.
Thanx to Toss Kaplinger !
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!