AjaxFileUpload return download panel when data is json
- by Tr.Crab
I use AjaxFileUpload (http://www.phpletter.com/Our-Projects/AjaxFileUpload/ ) to upload a file and get json result type response in struts2 ( code.google.struts2jsonresult.JSONResult )
but browser always pop-up download pane, plz give me some suggestions, thanks in advance
Here is my config in struts.xml :
......
<result-type name="json"…