Perhaps I should change my question a bit. I am more concern about the use of 'property' in html tag. Assuming I don't want to append the parameter at end of URL (index.do?method="something"). Perhaps, I want to do this:
<html:form action="ss">
<html:submit property="" value=".."/>
<html:submit property="" value=".."/>
</html:form>
(or image as submit button). This key point is that is it a must to use a form bean if we use 'property' in our input tag?
I've done some tests. The property attribute seems to demand a form-bean (<action name="sth"..> must be defined). But the form-bean does not have to contain exactly the property you specified in the tag.
The
struts documentation is not very clear in this area. Appreciate if anyone can provide more info.