I see it looks like you're using a relative path to your servlet there (e.g. "../FileUploadServlet"), which may be causing some issues with Flash (given that Flash handles the networking on its own independent of the browser's network logic, so the relative pathing may be different.) Can you try switching that to an absolute path instead (e.g. "/your_app_dir/FileUploadServlet")?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
you can see the debugging mode in IE ,for others it works (chrome,firefox)
---SWFUpload Instance Info---
Version: 2.2.0 2009-03-25
Movie Name: SWFUpload_0
Settings:
upload_url: ../FileUploadServlet
flash_url: http://192.168.1.204:8080/webimmo/myproject/swfupload.swf?preventswfcaching=1370005187883
use_query_string: false
requeue_on_error: false
http_success:
assume_success_timeout: 0
file_post_name: Filedata
post_params: [object Object]
file_types: .jpg;.gif;*.png
file_types_description: All Files
file_size_limit: 50 MB
file_upload_limit: 0
file_queue_limit: 0
debug: true
prevent_swf_caching: true
button_placeholder_id: gwt-uid-599
button_placeholder: Not Set
button_image_url:
button_width: 133
button_height: 22
button_text: - Cliquez ici -
button_text_style: color: #000000; font-size: 16pt;
button_text_top_padding: 0
button_text_left_padding: 0
button_action: -100
button_disabled: false
custom_settings: [object Object]
Event Handlers:
swfupload_loaded_handler assigned: false
file_dialog_start_handler assigned: true
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
SWF DEBUG: SWFUpload Init Complete
SWF DEBUG:
SWF DEBUG: ----- SWF DEBUG OUTPUT ----
SWF DEBUG: Build Number: SWFUPLOAD 2.2.0
SWF DEBUG: movieName: SWFUpload_0
SWF DEBUG: Upload URL: ../FileUploadServlet
SWF DEBUG: File Types String: .jpg;.gif;.png
SWF DEBUG: Parsed File Types: jpg,gif,png
SWF DEBUG: HTTP Success: 0
SWF DEBUG: File Types Description: All Files (.jpg;.gif;.png)
SWF DEBUG: File Size Limit: 52428800 bytes
SWF DEBUG: File Upload Limit: 0
SWF DEBUG: File Queue Limit: 0
SWF DEBUG: Post Params:
SWF DEBUG: ----- END SWF DEBUG OUTPUT ----
SWF DEBUG:
Removing Flash functions hooks (this should only run in IE and should prevent memory leaks)
SWF DEBUG: Event: fileDialogStart : Browsing files. Single Select. Allowed file types: .jpg;.gif;*.png
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: ReturnUploadStart(): File accepted by startUpload event and readied for upload. Starting upload to ../FileUploadServlet 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: 10742. Total: 10742
SWF DEBUG: Event: uploadError: HTTP ERROR : File ID: SWFUpload_0_0. HTTP Status: 404.
SWF DEBUG: Event: uploadComplete : Upload cycle complete.
I see it looks like you're using a relative path to your servlet there (e.g. "../FileUploadServlet"), which may be causing some issues with Flash (given that Flash handles the networking on its own independent of the browser's network logic, so the relative pathing may be different.) Can you try switching that to an absolute path instead (e.g. "/your_app_dir/FileUploadServlet")?
i will try that ,thank you very much.