有时候配置struts2的action时:少了<param name="contentType">text/html</param>就会弹出下载页面,应该加上。
<result name="fail" type="json">
<param name="contentType">text/html</param>
<param name="root">optStatus</param>
</result>
struts2弹出下载页面
猜你喜欢
转载自mywaylife.iteye.com/blog/1612259
今日推荐
周排行