`
xiongbin
  • 浏览: 14582 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

swfupload在ie是正常的其他浏览器没法上传

阅读更多
本人最近接触swfupload上传组件,在IE上传没有问题,在谷歌浏览器上传不了,debug输出下面的问题,哪位高手能帮忙看看


---SWFUpload Instance Info---
Version: 2.2.0 Alpha
Movie Name: SWFUpload_0
Settings:
upload_url:               http://localhost:8080/usr/album/UploadFileSubmit.jsp
flash_url:                http://localhost:8080/js/album/swfupload.swf?swfuploadrnd=430838558
use_query_string:         true
file_post_name:           Filedata
post_params:              [object Object]
file_types:               *.jpg;*.jpeg;*.gif
file_types_description:   *.jpg;*.jpeg;*.gif
file_size_limit:          150 MB
file_upload_limit:        100
file_queue_limit:         0
debug:                    true
prevent_swf_caching:      true
button_placeholder_id:    spanButtonPlaceholder
button_image_url:         /images/album/add_input.png
button_width:             80
button_height:            22
button_text:             
button_text_style:        color: #000000; font-size: 16pt;
button_text_top_padding:  0
button_text_left_padding: 0
button_action:            -110
button_disabled:          false
custom_settings:          [object Object]
Event Handlers:
swfupload_loaded_handler assigned:  true
file_dialog_start_handler assigned: false
file_queued_handler assigned:       true
file_queue_error_handler assigned:  true
upload_start_handler assigned:      true
upload_progress_handler assigned:   true
upload_error_handler assigned:      true
upload_success_handler assigned:    true
upload_complete_handler assigned:   true
debug_handler assigned:             true

SWFUpload.SWFObject Plugin settings:
minimum_flash_version:                      9.0.28
swfupload_load_failed_handler assigned:     true

SWF DEBUG: SWFUpload Init Complete
SWF DEBUG:
SWF DEBUG: ----- SWF DEBUG OUTPUT ----
SWF DEBUG: Build Number:           SWFUPLOAD 2.2.0 Alpha 2008-10-17
SWF DEBUG: movieName:              SWFUpload_0
SWF DEBUG: Upload URL:             http://localhost:8080/usr/album/UploadFileSubmit.jsp
SWF DEBUG: File Types String:      *.jpg;*.jpeg;*.gif
SWF DEBUG: Parsed File Types:      jpg,jpeg,gif
SWF DEBUG: File Types Description: *.jpg;*.jpeg;*.gif (*.jpg;*.jpeg;*.gif)
SWF DEBUG: File Size Limit:        157286400 bytes
SWF DEBUG: File Upload Limit:      100
SWF DEBUG: File Queue Limit:       100
SWF DEBUG: Post Params:
SWF DEBUG:                         albumId=1291251001823
SWF DEBUG: ----- END SWF DEBUG OUTPUT ----
SWF DEBUG:
SWF DEBUG: Event: fileDialogStart : Browsing files. Multi Select. Allowed file types: *.jpg;*.jpeg;*.gif
SWF DEBUG: Select Handler: Received the files selected from the dialog. Processing the file list...
SWF DEBUG: Event: fileQueued : File ID: SWFUpload_0_0
SWF DEBUG: Event: fileDialogComplete : Finished processing selected files. Files selected: 1. Files Queued: 1
SWF DEBUG: StartUpload: First file in queue
SWF DEBUG: Event: uploadStart : File ID: SWFUpload_0_0
SWF DEBUG: Global URL Item: albumId=1291251001823
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload.  Starting upload to http://localhost:8080/usr/album/UploadFileSubmit.jsp?albumId=1291251001823 for File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 65380. Total: 65380
SWF DEBUG: Event: uploadError: HTTP ERROR : File ID: SWFUpload_0_0. HTTP Status: 302.
EXCEPTION: message: Cannot set property 'className' of undefined
EXCEPTION: stack: TypeError: Cannot set property 'className' of undefined
EXCEPTION:     at FileProgress.setError (http://localhost:8080/js/album/fileprogress.js:140:37)
EXCEPTION:     at [object Object].uploadError (http://localhost:8080/js/album/handlers.js:232:12)
EXCEPTION:     at [object Object].<anonymous> (http://localhost:8080/js/album/swfupload.js:681:31)
EXCEPTION:     at [object Object].executeNextEvent (http://localhost:8080/js/album/swfupload.js:701:5)
EXCEPTION:     at http://localhost:8080/js/album/swfupload.js:686:9
EXCEPTION: type: non_object_property_store
EXCEPTION: arguments: className,
SWF DEBUG: Event: uploadComplete : Upload cycle complete.
分享到:
评论
6 楼 dyyweb 2012-08-23  
swfupload_loaded_handler assigned:  false

我的是这样的问题  如何解决啊
我的不能进入action 拜求赐教275001477@qq.com
5 楼 xiongbin 2011-12-05  
因为swfupload在火狐和gg里面发送文件时,session是不能保存的,所以如果你的页面后台做了登陆处理啥的,session失效也就不会处理这个上传文件。你想办法规避就可以了
4 楼 java_ruji 2011-10-26  
xiongbin 写道
呵呵 这个问题自己解决了


你好,请问你是怎么解决的~ ^_^
我的邮箱 522895022@qq.com,可以加我QQ么~
3 楼 jespring 2011-08-24  
lz怎么解决的。
2 楼 xiongbin 2010-12-27  
呵呵 这个问题自己解决了
1 楼 xiongbin 2010-12-02  
没人回应,自己踩踩

相关推荐

    SwfUpload在IE10上不出现上传按钮的解决方法

    在IE10之前,SwfUpload与Flash技术相结合,提供了一种在浏览器中嵌入Flash对象来处理文件上传的方式。然而,随着浏览器对HTML5的支持增加以及Flash逐渐被淘汰,SwfUpload在某些现代浏览器中,尤其是IE10及更高版本,...

    上传Excel文件支持各浏览器及IE789低版本浏览器

    "上传Excel文件支持各浏览器及IE789低版本浏览器"这个主题,聚焦于解决一个关键的问题:如何在各种浏览器,包括低版本的IE,如IE7、8和9中实现Excel文件的上传功能。 Excel文件上传通常涉及到前端的HTML、CSS和...

    swfupload 批量上传文件

    2. **技术背景**:由于JavaScript在浏览器安全策略下无法访问本地文件系统,SWFUpload通过嵌入一个小型的Flash对象来绕过这一限制,使得用户能够在浏览器中实现文件选择和上传。 3. **适用环境**:SWFUpload 兼容...

    浏览器上传

    总之,浏览器上传是一个涉及前端和后端交互的复杂过程,尤其是在老版本的浏览器如IE8中,开发者需要克服许多限制,提供兼容性的解决方案,以确保所有用户都能顺利地上传文件。随着技术的进步,现代浏览器提供了更...

    大名鼎鼎SWFUpload- Flash+JS 上传

     SWFUpload不同于其他基于Flash构建的上传工具,它有着优雅的代码设计,开发者可以利用XHTML、CSS和JavaScript来随心所欲的定制它在浏览器下的外观;它还提供了一组简明的JavaScript事件,借助它们开发者可以方便的...

    swfupload多选上传实例

    SWFUpload是一款开源的JavaScript库,通过在浏览器中嵌入一个透明的Flash对象,实现了在不刷新页面的情况下,支持多文件选择并上传的功能。它兼容多种浏览器,包括IE6+、Firefox、Chrome、Safari等。SWFUpload的主要...

    支持IE8的不刷新页面上传图片

    在IT行业中,网页上传图片是一项常见的功能,但考虑到兼容性问题,尤其是对于那些仍然需要支持老版本浏览器(如Internet Explorer 8,简称IE8)的项目,实现这一功能可能会有些棘手。标题“支持IE8的不刷新页面上传...

    SWFUpload V2.2.0 说明文档(二)

    SWFUpload 是一款开源的JavaScript库,用于在网页中实现多文件上传功能,尤其适用于处理大文件上传。在V2.2.0版本中,它提供了丰富的配置选项以满足不同的上传需求。以下是对这些配置选项的详细解释: 1. **file_...

    SWFUploadcn超牛X文件上传

    1. **Flash支持**:由于SWFUpload 使用Flash,因此在没有Flash支持的设备(如某些移动设备)上可能无法正常工作。随着HTML5的普及,开发者需要考虑如何在没有Flash的环境中提供替代方案。 2. **服务器端集成**:...

    基于jquery跨浏览器显示的file上传控件

    jQuery插件`jquery.fileEveryWhere.js`就是为了解决这一问题而设计的,它能够提供一个跨浏览器的统一界面,使File上传控件在不同的浏览器中具有相同的外观和行为。 首先,让我们回顾一下在不同浏览器中`input[type=...

    HTML input type=file文件选择表单元素.docx

    但是,HTML5 的出现让我们浮现了转机,IE10+ 以及其他现代浏览器可以让我们直接读取文件数据,然后在页面上展现,实现了上传前预览。 五、传统的 form 提交和 Ajax 交互 传统的 form 提交需要刷新页面流,但是好的...

Global site tag (gtag.js) - Google Analytics