POST method getting converted to GET in IE-9

前端 未结 4 2079
余生分开走
余生分开走 2020-12-16 15:27

I have this line of code in my JSP. (I\'m using struts 1.3)

. . .

When the act

相关标签:
4条回答
  • 2020-12-16 15:34

    Try this: method="POST".

    The standard specifically states that method can have the value GET | POST (note the caps).

    0 讨论(0)
  • 2020-12-16 15:38

    TL;DR: Ensure the two sites are in the same zone as well. I had sites in two different zones and calling up the zone stack broke IE.

    For anyone that stumbles across this (like I did), but finds that the Protected Mode setting doesn't resolve it, I wrote this up on another thread: https://stackoverflow.com/a/12167814/649249

    Resolved it for me.

    0 讨论(0)
  • 2020-12-16 15:38

    We have noticed that there are some security warnings that halt the processing in order for the user to acknowledge. Once the use acknowledges the warning the browser sends a get rather than a post. This has been happening in IE8, not sure if it still happens in IE9.

    0 讨论(0)
  • 2020-12-16 15:59

    This issue was happening due to a security setting in IE in Windows 7. It also happens in IE-8 of Win-7. (But works fine in IE-8 of Win-XP)

    There is an option of Enabling/Disabling protected mode in IE of Windows-7. This is a new feature present in IE of Vista/Windows-7 and this option is enabled by default for “Internet” zone and “Local Intranet” zone(or any one of them). Disabling at these 2 places solved the issue.

    Tools -> Internet Options -> Security -> Internet/Local Intranet -> Uncheck on the "Enable protected mode" option.

    0 讨论(0)
提交回复
热议问题