1. Client solution:
Submit the form on IE, but the JSON result returned by the website cannot be displayed normally, and becomes a file download pop-up box. On other computers it is normal.
Solution: Copy the following content into Notepad and save it as a reg.reg file. Double-click the reg.reg file to import the registry.
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/json] "CLSID"="{25336920-03F9-11cf-8FD0-00AA00686F13}" "Encoding"=dword:00080000 [HKEY_CLASSES_ROOT\MIME\Database\Content Type\text/json] "CLSID"="{25336920-03F9-11cf-8FD0-00AA00686F13}" "encoding"=dword:00080000
2.Struts2 configuration
<result name="resultJSON" type="json">
<param name="contentType">text/html</param>
</result>