Top.Mail.Ru
November 3rd, 2008 - Java developers — LiveJournal
? ?

Java developers

November 3rd, 2008
Image

09:09 am - Imagefelar - 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?
Powered by LiveJournal.com
Image