On Thu, 27 Feb 2003, John Thorhauer wrote:

> Date: 27 Feb 2003 16:03:06 -0500
> From: John Thorhauer <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: Re: is Component a reserved word?
>
> OK.  Thanks for the heads up.  I changed my class to Komponent and it
> works fine now.  Man that was a pain in th butt to figure out.  Oh well,
> on to more fun with struts.
>

It's not even the fact that there's a java.awt.Component class that causes
this problem -- it's caused by the way that java.beans.Introspector looks
up BeanInfo classes via the getBeanInfoSearchPath() method.  The net
effect is that using a class named Component is the one and only case
where you have this issue, at least on the Sun JDK.  Do a search for
BeanInfoSearchPath in the archives of COMMONS-DEV or COMMONS-USER for more
discussion if you're interested in the nitty gritty details.

> Thanks for the help,
> John
>

Craig

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to