I am not sure if this is some thing you looking for <s:form id="configureform" name="configureform"> SOME table here or some fields </s:form>
<s:url id="configure" value="Configure.action" /> <s:a href="%{configure}" showLoadingText="false" id="configure" cssClass="anchors" theme="ajax" targets="div2" formId="configureform">Cancel</s:a> I like using anchors.. you can use submit as well. important things here are the formId which shud be the same as in the form tag showloadingText =false by default its true and there is a problem in IE href should be the same as in the url tag. Hope this helps. Roger Varley wrote: > > Is it possible to define a button (<s:input> in such a way that, instead > of of > calling a method in the action defined in the <s:form> tag, it calls a > completely different action.method. Is it possible to just add a button > that > calls an action on the jsp. > > Alternatively, I know I can style a link to look like a button with css, > but > I'd rather have a button if at all possible > > Regards > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Struts-2-Buttons-tp19275424p19279838.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]