Struts2 + Ext上传文件时弹出下载框提示下载的解决办法
在action的配置文件(xml文件)的相应action中加上<param name=” contentType”>text/html</param>
?
<action name="ImportBTSAction" method="importBTS"><result type="json"><param name="includeProperties">success,result</param><param name="contentType">text/html</param></result></action>?