Image

Imagefelar wrote in Imagejava_dev perplexed

html:submit and bean:write

I'm working on a struts project.

I'm using the html:submit tag and I want to define the property the same as a bean I have in the request.

I have tried both...

<html:submit style='buttonNavigation' property='<bean:write name="submitKey" />' value='<bean:write name="submitSave" />' />
   
<html:submit style="buttonNavigation" property=submitKey> <bean:write name="submitSave" /> </html:submit>


Neither write the property correctly... Any ideas?