In the attribute name, this is the JavaBean name, not the name to give to the Form on the Web Page. I want to name the form so that I can use the suggestion here, for creating a Save link outside of the form. Thanks Mark
It's also the name given to the form on the html page. Try using the name attribute and then viewing the source on your page. The html should have the name attribute same as what you listed in the struts tag.
According to the latest API docs, the <html:form> doesn't have a name attribute. It decides which form bean to use based on the form bean used by the Action specified in the action attribute. [ April 23, 2004: Message edited by: Jason Menard ]
You might be able to use the styleId parameter which renders an id attribute. I'm pretty sure you can get a reference to a document element using the id. Your save link would then be a call to a JavaScript function that finds the form element with a particular id value and submit it. Also make sure you don't have any elements in your page that are named "submit" because that can interfere with your ability to call the JavaScript form.submit method. something like <a href="javascript:submitFormWithId('<bean:write name="id">')">Save</a> <html:form action="myAction" styleId="${id}">