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 7565875
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T14:16:11+00:00 2026-05-30T14:16:11+00:00

File upload works fine with Firefox but when running the code from IE8, and

  • 0

File upload works fine with Firefox but when running the code from IE8, and after the upload has been successful IE displays a:

“File Download – Security Warning”

Do you want to save this file, or find a program online to open it?
Name: uploadImage7c8c609b
Type: Unknown File Type, 163 bytes
From: 127.0.0.1

(sorry as a new user I can’t post the screenshot!)

How can I switch this off?

  • 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-05-30T14:16:12+00:00Added an answer on May 30, 2026 at 2:16 pm

    dude, exactly the same thing happens to me.

    The way out of this mess, in my case, is to change the mimetype of the response.
    (hint comes from here: https://stackoverflow.com/a/4723649)

    I use spring’s utillity, which in turn uses Jackson, to automatically transform objects to json strings.(Well, there’s some configuration needs to be done, annotation-driven, to name but a few.)

    So instead of writing like this:

    public @ResponseBody
        ExtjsJsonCmd upload(..., MultipartFile file) {
            ....
            return new ExtjsJsonCmd(true,"certain message...");
    }
    

    I put down this:

    public @ResponseBody
        String upload(..., MultipartFile file){
            ....
            return "{success:true, msg:'certain message...'}";
    }
    

    Hope it will make it through.

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

Sidebar

Related Questions

I have this file upload and it works in Firefox fine, but when I
I have been working on a upload file that works fine on localhost (windows)
This process has been working fine in Chrome, but in Firefox 7.0.1 there are
I need to upload a csv file to a server. works fine for smaller
We have a file upload in our ASP.NET MVC application that works fine. It
Using MVC3.NET I have a file upload method in a controller that works fine
I having a bit of an issue with my file upload, it works fine
I have a form where the user can upload a zip file, it works
I have a HTML file upload field from which I'm reading the file name
The file upload script I wrote early last year for an internal website has

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.