I ve one
jsp . And in this I have two submit buttons. If I code in a manner like this-
<input type = "submit" name = "method"
value ="<bean:message key ="button.name"/>"> <!-- [ button.name = name]-->
</input>
<input type = "submit" name = "method"
value ="<bean:message key ="button.address"/>"><!--[button.address=address ]-->
</input>. Then the two button labels are "name" nad "address". But if I code
<html:submit property ="method"> <bean:message key="button.name">.. . Then I get the button labels as "name" and "name adress". Why this is happening.How this can be prevented?