In Form Bean's setter method, is there any "rule" we have to follow for naming convention ? for example, if I have a variable called "day_of_travel",
can I do
public void setDay_of_travel(...);
or
public void setDay_Of_travel(...);
or
public void setDay_Of_Travel(...);
If all of three methods work, then it seems there is no rule, then how does
struts know when user enter that field which setter method it should use to fill the Form bean instance ?
thanks.