michael
michael

Reputation: 1

IE6 struts2 execute wrong action

i'm facting a weired problem when executing my struts2 app using IE6.

I've got a 'submit' and 'cancel' button in my form:

<s:form namespace="/myns" action="submituser" >

. . .

< s:submit type="button" value="back" label="Back" action="init"/>

<s:submit type="button" value="next" label="Next" action="submituser"/>

....

When i click on "Next" the request gets forwarded to 'init'. But this only happens when using IE6 mozilla ie8 etc work fine.

any ideas?

thanks, Michael

Upvotes: 0

Views: 403

Answers (1)

Quaternion
Quaternion

Reputation: 10458

I think it is 'type="button' which is causing the issue.

See here for an explanation as to what IE 6 is up to: http://www.vancelucas.com/blog/ie6-and-multiple-button-submit-elements/

Upvotes: 1

Related Questions