Hi all,

I seem to have found a strange bug in Struts (or I need more coffee).

I have an ActionForm with a property "aCompanyId" (the 'a' stands for
admin), and thus have the following members:
public Integer aCompanyId;
public Integer getACompanyId();
public void setACompanyId( Integer someId );

But, when I try to reference this form in a .jsp using
<html:text property="aCompanyId">, I get the following error:

javax.servlet.ServletException: No getter method for property aCompanyId
of bean org.apache.struts.taglib.html.BEAN

The strange part is that if I change the name of the property and the form
methods to "aaCompanyId" and "getAaCompanyId()" etc it *does* work.

What's wrong here?

Greetings,
Arjan Lamers

---------------------------------------------
Notice: The only person getting his work done
by Friday was Robinson Crusoe.



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

Reply via email to