开发者

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/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜