I have two questions related with the set methods in any of the Form
class, such as MyActionForm.

1. It seems to me that if we use a form with POST method, the
corresponding "set" method will be called as it should be. What I want
to confirm is that if I have the URL with query string, does the
parameter specified overthere also cause the "set" to be called? For
example, I have the URL: http://.../action?name=value And in the
MyActionForm.java, I have the method:

        public void setName(String name) {name = value;}

My experiment shows that when I clicked the URL, setName got called. 

2. My second question is that I found the "set" method did not got
called if the length of the "keyword" is 2. For example, in the above
example, if "name" is "aT" and I have the "set" method,

        public void setAT(String aT) {aT = value;}

The "setAT" does not got called. 

Thank you for the help,
Zhiyong Li
Platform Development
iBiomatics LLC ,  a SAS Company
(919) 653-2746
[EMAIL PROTECTED]


Reply via email to