Felar (felar) wrote in java_dev,
Felar
felar
java_dev

  • Mood:

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?
Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 3 comments