1、在url后加连接:
upload_url: "<%=basePath%>upload?action=up",
2、使用swfupload传递参数,在setting中配置
post_params: { "hello" : "Here I Am", "name" : "张三", "ff" : document.getElementById("tf").value }, use_query_string : true,//要传递参数用到的配置
3、采用swfupload的函数:
addPostParam("myFileName",encodeURI(file.name));//这个是我用来传递文件名称的