Search code examples
windows-7internet-explorer-8internet-explorer-9struts-1

POST getting converted to GET across OS



I'm facing a very weird kind of problem while running my application.

When I hit a website and login to my application, the POST is getting converted to GET automatically. Since all the request parameters are getting lost due to this, the page shows up an error screen.

This issue happens in IE-8 (Windows 7), but works absolutely fine in IE-8(Windows XP).

How is the OS involved in this? Have anyone faced such issues? This issue happens in IE-9 as well.

Kindly refer to this issue as well. Any solutions would be really helpful.

Thanks !!


Solution

  • This issue was happening due to a security setting in IE in Windows 7.

    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.