I am dealing with an old application which uses struts 1.2. And for some reason, we are using pure html form to submit to struts action. For example:
for the content output of testAction.do, I try to submit to itself.
item 1
item 2
Then I associate an form bean TestForm with testAction.
I am not sure how to specify the properties in the form so that it take the value from myitem1 after user click "submit"
I tried to add
getMyitem1(), setMyitem1(String[] items), getSelectedMyitem1(), setSelectedMyitem1(String[] items)
Those set methods are only called when page are loaded.
I guess my understanding of ActionForm in struts 1.x must be wrong.
Please advise, thanks.