Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8789833
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:30:51+00:00 2026-06-13T22:30:51+00:00

I am using valums file-uploader to upload files. This works great if my Spring

  • 0

I am using valums file-uploader to upload files. This works great if my Spring controller returns void. If I add a @Responsebody Object to my controller IE things that I am about to download instead of uploading a file and launches a dialog.

The reason I would like to have a @Responsebody Object and not void is for error handling. How can I trick IE in this case?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T22:30:52+00:00Added an answer on June 13, 2026 at 10:30 pm

    I’m assuming that Spring is automagically setting the content-type to application/json for you, which will not work in IE. Ensure the content-type of your response is text/plain. Some will say that text/html is correct, and that is true for most cases. However, text/html will cause you problems if your JSON response contains HTML as IE will mess with the response. So, your safest bet is to ensure the content-type of your response is text/plain.

    While we are on the topic of IE quirkiness, also be sure that you only return a 200 response if you intend to also include JSON in your response. IE will, by default, replace the content of “small” non-200 responses with a “friendly” message. “Small”, I believe, is defined as a response that is less than 512 (or possibly 256) bytes.

    For a list of all things you should be aware of when using IE, have a peek at the “limitations of IE” section in the Fine Uploader readme.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using this pluging to upload files: https://github.com/valums/file-uploader But now I starts the upload
I'm using Rails and valums file-uploader for ajax upload. In development all works flawlessly,
i'm using Valums Ajax uploader. all works great in Mozilla with this code: View:
Want to upload a file using ajax for this using this uploader http://valums.com/ajax-upload/ and
I am using the file uploader plugin (from: https://github.com/valums/file-uploader ) to upload files to
I am using this ajax file upload script, and all works well in firefox
I am using the Valums Ajax Uploader to upload a batch of files. We
I am using the Valum AJAX upload script from: https://github.com/valums/file-uploader I am having trouble
Im using Valums awesome file uploader - https://github.com/valums/file-uploader One thing i want to add
I'm using valums ajax file-uploader My nodejs server side looks like this: fileStream =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.