tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (David M. Karr)
Subject Re: Taglib: Unable to find setter method for attribute: required
Date Mon, 03 Mar 2003 01:40:22 GMT
>>>>> "Thorsten" == Thorsten Giesecke <>

    Thorsten> After changing from Tomcat 3.2.3 to Tomcat 4.1.18 the following
    Thorsten> exception occurs:

    Thorsten> Unable to find setter method for attribute: required

    Thorsten> The TLD defines the required attribute as optional,
    Thorsten> the setter method (setRequired(String ...)) is available
    Thorsten> and with Tomcat 3.2.3 there are no problems.

    Thorsten> Are there any changes in the JSP/Taglib definition, which
    Thorsten> permits the use of required as an attribute name?

    Thorsten> Is it required, that every taglib class has it's own setter
    Thorsten> method or can i use an abstract parent class which implements
    Thorsten> this setter method once? can this result in problems with
    Thorsten> introspection?

If you haven't solved this yet, it could be useful to see your actual tag class
and the TLD.

There should be no problem with implementing a setter method in the base class,
as opposed to the derived class.

David M. Karr          ; Java/J2EE/XML/Unix/C++   ; SCJP; SCWCD

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message