在IE下一切运行都OK,在firefox下死活不成功,折腾了大半天。上google一查,说是firefox重新开了个session导致,因此url里加入jsessionid一切搞定。代码如下: var swfu = new SWFUpload({ button_image_url : "