IE6 struts2 execute wrong action
i'm facting a weired problem when executing my stru开发者_如何转开发ts2 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
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/
精彩评论