Why not use a button image? <a href="/do/signup/save"><img border="0" src="myButton"/></a>
or if you prefer Struts tags... <html:link page="/do/signup/save"><img border="0" src="myButton"/></html:link> This way you avoid having to define a "dummy" form. robert > -----Original Message----- > From: Stefan Arentz [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 02, 2002 9:10 PM > To: [EMAIL PROTECTED] > Subject: Struts 101 - How to create a button that links to an action > > > I'm really strugling with some simple things that I know how to solve > with 'plain html' but not with the Struts framework. > > One of those things is this, I need a simple button that links to a > specific action. There are no form elements, just a button. > > I tried this: > > <html:form action="/signup/save"> > <html:submit text="Confirm"/> > </html:form> > > with: > > <action-mappings> > <action path="/signup/save" > type="my.package.SaveSignupAction" scope="request"/> > </action-mappings> > > But this bails out with a 'Cannot retrieve definition for form bean'. > > Can someone give this newbie a hint :-) > > Stefan > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>