I apologize for this simple, stupid question.
I created a form on a JSP page. I put in the form the; <html:submit value="Save">
So, how do I get the name/value of this from my FormBean?
Would this work? <html:submit property="xxx" value="Save"> <html:reset property="xxx" value="Cancel">
And then in the form-bean, do this: public String getXXX() { return this.xxx; }
Right, now I actually have: <html:hidden property="action" value="Save"> <html:submit value="Save"> <html:reset value="Cancel">
And in the form-bean: public String getAction() { return this.action; }
Thanks for any help!
Tom
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]