You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by David Bolsover <da...@bolsover.com> on 2002/12/04 16:10:58 UTC

odd behaviour form beans?

I have seen some odd behaviour relating to initial capital letters

I have the following on a jsp:

<html:text property="PCBSerial" />
Note the capital P

<html:text property="function1" />
Note the lower case f

In the corresponding Actionform:

private String pCBSerial = "";
private String function1 = "";


public String getPCBSerial(){
return this.pCBSerial;
}

public String getFunction1(){
return this.function1;
}

The above works fine but if I change the jsp to <html:text property="pCBSerial"
/> as would be normal, I get an exception No getter method for property
pCBSerial of bean org.apache.struts.html.BEAN.

What is going on?

struts 1.1b2
Tomcat 4.0.3

db






--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>