******Why couldn't File Download Box pop up???

Hi all,
I want to use applet to call the IE' file download box which does the csv download job.
Here is my idea:
First, click the menu of applet to call the servlet
Scecond,call the IE file download box by this servlet invoked by the applet.
The following code snippets intend to show the file download dialog:
String fileName = "test.csv"
response.setContentType("APPLICATION/OCTET-STREAM");
response.setHeader("Content-Disposition", "attachment; filename=\""+fileName+"\"");
unfortunately, the box didn't show!!!:-(
One thing can be clear that with the IE or NetScape supported ,the file download dialog can be raised by writing the code above.
I wanna make two things clear:
No1:Is it true the file download box is part of function of the browser?
No2:Is there any solution to this problem?
Thanks a lot!

it happens with the keyboard disconnected. I was surprised it booted up without going through the user screen so I didn't have to enter my password.
and on another note, I'm sure it's obvious, but how do I boot up from my external drive with my imac? the other day when I was having serious issues while trying to fix this problem, I was unable to boot from my install disc
thanks so much for your time

Similar Messages

  • Force flash to open file download box in front of the flash movie

    Folks,
    I'm making a dvd title using flash to auto start when people
    pops the dvd disc in.
    I have a button 'Click here to download the movie' and
    clicking the button should pop up a file download box so people can
    save the movie file(.mov) to their desktop.
    Problem is that the file download box shows up behind the
    flash movie so people won't be able to see the download box since
    it's hidden behind the flash. This is critical since I intend the
    flash to open as a full-screen mode.
    Is there a way to force the flash to open the download box in
    front of the flash movie?
    I tried getURL and fscommand ("exec", "filename.exe") and
    even fileReference commands to try different way of linking the
    movie file, and they all open download box behind the flash.
    Please help~~~

    Please do not post the same topic in multiple forums. The
    only thing I can suggest is when they click on the button to
    download, you take flash out of full screen while they download the
    video, you can use fileReference to control and monitor the
    download. Use a listener object to monitor when download is
    complete, then set flash back to full screen.
    How are you scripting the full screen?

  • Report Print & Export Issue (File Download Box appears)

    We send a URL to Crystal Enterprise which runs a script, logs on, finds folder, finds report and displays in the Crystal report viewer. All that works fine....
    However, when you select the print icon or the export icon a Windows Internet Explorer box to select page range etc. and then when you say OK, you recieve a File Download Box asking to Open/Save/Cancel one of the following:
    Print - Name: CrystalViewer.pdf, and Type of pdf_auto_file
    Export - Name: CrystalViewer.rpt, and Type of CrystalReports
    I have no IDEA what he is trying to do but he sure ain't printing.  I can only assume that I have a missing part that he is trying to download at the time of print/export. Or that there is something set in the script that is killing me...
      Sub ViewReport( iStore, id, token)  
      URI = "./viewer/en/viewreport.csp?id=" & id & "&token=" & token & GetPrompt
       Set viewer = Server.CreateObject( "CrystalReports.CrystalReportViewer" )
       Set rptFactory = iStore.EnterpriseSession.Service("", "PSReportFactory")
       Set rptSource = rptFactory.OpenReportSource(CInt(id))
       ' Set the viewer's properties to prepare it for viewing.
       With viewer
          .ReportSource       = rptSource
          .EnterpriseLogon    = iStore.EnterpriseSession
          .URI                = URI
          .ISOWNPAGE          = TRUE
          .ISOWNFORM          = TRUE
          .HasPrintButton     = TRUE
          .ISDISPLAYPAGE      = true
          .isdisplaytoolbar   = true
          .isDisplayGroupTree = true
          .GroupTreeWidthUnit = 1
          .GroupTreeWidth     = 17
          .HasRefreshButton   = true
          .HasExportButton    = true
          .ParameterFields    = GetParams
       End With
        If Err.Number <> 0 Then
          'There was an error setting up the viewer.
          Response.Write "<p>Unable to create report viewer. " & Err.number
       Else
          'Process the request and launch the viewer.
          viewer.ProcessHttpRequest Request, Response, Session
          'viewer.refresh
       End If
    End Sub
    Help me???

    Please re-post if this is still an issue to the .NET Development - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly

  • Unwanted File Download box in JSF - Problem while Saving State.

    Hi,
    I am having a situation wherin there are multiple command links dynamically generated in a dataTable.When I click on any one of the links a file download dialogue pops up to save/open a pdf doc.Irrespective of any operations on the download dialogue, if I click on anyother link (i.e this is the 2nd click on tat page)
    then the file download doesnt pop up and instead the page is refreshed.
    On the 3rd click , the file download again pops up.
    The code in the action method of the command link goes like this
    public void showPDF() {
    byte[] pdf = // gets the data from another place.
    FacesContext faces = FacesContext.getCurrentInstance();
              HttpServletResponse response = (HttpServletResponse) faces.getExternalContext().getResponse();
              response.setContentType("application/pdf");
              response.setContentLength(pdf.length);
              response.setHeader("Content-disposition", "attachment");
              response.setHeader("Cache-Control", "cache, must-revalidate");
              response.setHeader("Pragma", "public");
              try {
                   ServletOutputStream output = response.getOutputStream();
                   output.write(pdf);
              } catch (IOException e) {
                        log.debug("IOException in viewPdf: " + e.toString());
         faces.responseComplete();
    }To fix the above problem ...I have included the following 2 lines of code just before invoking the responseComplete() method :
      StateManager stateManager = (StateManager)    
                                                                    faces.getApplication().getStateManager();
         stateManager.saveSerializedView(faces);This solves the above problem but causes another problem for which I need help :
    There is a value change listener in my jsp.When I change the value in a drop down list in the same page, the file download dialogue is poping up. which shuld only pop up when am clicking any one of the command links.
    I debugged thru the code and found out that after the value change listener action method is finished executing it jumps and executes the above showPDF() method.
    Seems its something to do with saving of the client state.
    It will be of great help anyone can advise on this.
    Thanks
    Archan

    Hi,
    I am having a situation wherin there are multiple command links dynamically generated in a dataTable.When I click on any one of the links a file download dialogue pops up to save/open a pdf doc.Irrespective of any operations on the download dialogue, if I click on anyother link (i.e this is the 2nd click on tat page)
    then the file download doesnt pop up and instead the page is refreshed.
    On the 3rd click , the file download again pops up.
    The code in the action method of the command link goes like this
    public void showPDF() {
    byte[] pdf = // gets the data from another place.
    FacesContext faces = FacesContext.getCurrentInstance();
              HttpServletResponse response = (HttpServletResponse) faces.getExternalContext().getResponse();
              response.setContentType("application/pdf");
              response.setContentLength(pdf.length);
              response.setHeader("Content-disposition", "attachment");
              response.setHeader("Cache-Control", "cache, must-revalidate");
              response.setHeader("Pragma", "public");
              try {
                   ServletOutputStream output = response.getOutputStream();
                   output.write(pdf);
              } catch (IOException e) {
                        log.debug("IOException in viewPdf: " + e.toString());
         faces.responseComplete();
    }To fix the above problem ...I have included the following 2 lines of code just before invoking the responseComplete() method :
      StateManager stateManager = (StateManager)    
                                                                    faces.getApplication().getStateManager();
         stateManager.saveSerializedView(faces);This solves the above problem but causes another problem for which I need help :
    There is a value change listener in my jsp.When I change the value in a drop down list in the same page, the file download dialogue is poping up. which shuld only pop up when am clicking any one of the command links.
    I debugged thru the code and found out that after the value change listener action method is finished executing it jumps and executes the above showPDF() method.
    Seems its something to do with saving of the client state.
    It will be of great help anyone can advise on this.
    Thanks
    Archan

  • File Download box appears despite content being text/html .....

    Hi
    I am supporting a set of web pages which display data to the user based on XML transformed by a set of style sheets. Currently when the user does something and fires the doPost method we get the "File Download" box appear with the message "Some files can harm your computer .................... ". The downloaded file is just the HTML used to display info to the user (with the appropriate embedded stuff from the stylesheet)
    I was under the impression that this dialogue box only appears when the content type is not understood by the browser. However, the content type is text/html ... so i am a bit stumped.
    can anyone suggest other ways in which this message can appear?
    cheers
    chris

    Just on the off chance anyone else ever has this problem and fins this post ( the problem was solved a long time and i forgot to update the post).
    The application in question attempts to log into a database via OC4J. The connection information in the data-sources.xml file was incorrect (specifically the database listener port). This was generating some bizarre exception which was propogated up and resulted in the above behaviour. I suspect that you could get the same effect thogh for many other reasons, so if you are having this problem i wouldnt get too hung up on this as a possible cause,.

  • File download box does not appear when trying to download adobe

    As I was unable to open any pdf documents i uninstalled & tried to reinstall adobe however nothing happens, the file download box doesn't open at all. I'm using windows 7 home premium. Anyone got any suggestions, could there be something causing this in my computer?

    Use the offline installer from http://get.adobe.com/reader/enterprise/

  • I try to download a picture and when the download box pops up it cancels my download automatically, how can I fix this?

    If I am trying to download anything from the internet such as a picture or SKYPE the download box pops up and says that my download has been canceled. I then hit retry and it looks like it is downloading but nothing ever downloads. How can I fix this??

    I dont know its the wifi at work...ssshhh dont tell. I will try it at home where I know it is hi-speed.

  • Why is the Apple ID box popping up on my screen?

    Why is the Apple ID box popping up on my screen?

    Because Apple has been concerned about passwords and IDs remaining secure.

  • When trying to update Adobe Flash the download box pops up but it never lists the Adobe update file. Meanwhile a prompt at the bottom of my screen pops up and says "download complete"

    Firefox 6.0.2
    Windows XP
    no matter how I try to update the download never shows up in the downloads box. A box pops up at the bottom of my screen and says "all downloads finished" but it never shows up in my downloads list so I am never given the option to "run".
    I was able to find it manually in the download list but I have no idea why it will not pull up correctly when doing an auto update.

    AA9 is not compatible with Reader. It is probably best to uninstall Reader and then repair AA9 (Help>Repair). Also, when you install you should generally be logged in as the administrator and have anti-virus disabled.
    For the updates, it may be best to simply go to http://www.adobe.com/support/downloads/product.jsp?product=1&platform=Windows, download the updates, and install them in order. A new system may be the problem, particularly if it is Win8 and 64 bit, you did not say. For 64-bit systems, the updates are critical (I think AA9 works on 64-bit systems after the updates). For AA X, it required 10.1 for 64-bits.
    Also, if you updated OFFICE, then expect to only print to the Adobe PDF printer. AA9 does not work with PDF Maker on the newer versions of OFFICE.
    If you uninstall AA9 for some reason (I don't recommend except as a last resort), then be sure to remove the Acrobat folder and run the cleaner (http://labs.adobe.com/downloads/acrobatcleaner.html) before a reboot and reinstall.

  • When I try to download something, the download box pops up and it will download, but will not allow me to open the file from the download box

    Whether pictures, or executable files, will download into the download box that pops up. When the file is done downloaded, when I attempt to either left click or right click on the file in the download box, it will not allow me to open that file

    Do you owe money from these previous purchases? If so, you will not be able to download anything further from the iTunes Store until you provide a payment method, either a credit card or a prepaid iTunes card, to clear that balance.
    Regards.

  • Any idea why my saved documents are unable to be read? "convert file from" box pops up, applications are listed to use but if any are chosen, the file then opens but is in symbols

    When attempting to open saved documents for viewing a box pops up "convert file from" with applications that can be chosen from to use. When any of the options are chosen the document then opens but is in symbols and is unreadable. This is happening with all saved documents.  Can you offer any help with this?

    Hi,
    If you don't find any clue, you can send your file to me (guillaume.rouyreATgcosiDOTcom, replace cap) so I can give a try.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • Download Box Pops Up When Viewing Websites With Facebook Like Buttons

    Whenever I visit websites that have the option to click the "like" button from facebook (cnn, tmz, etc.), the download box on my computer pops up and says "You have chosen to open like.php from www.facebook.com in Text Edit" or "You have chosen to open fan.php from www.facebook.com in Text Edit." I rarely use Facebook and have never used the like button so I'm not sure why it keeps popping up. Does anyone else have this problem/know how to fix it? I am using Firefox 3.6 on a Mac with Snow Leopard.
    == URL of affected sites ==
    http://

    Same problem , on multiple websites across the web.

  • A Video Site I've Gone To For Years (Liveleak), Never With Firefox, When I Click To Play The Video, Downloads Box Pops Up And Says I'm Downloading The Video.

    So I Go To The Site, Everything Loads Properly And Quickly, Click The Video I Want To Watch, That Video Page Comes Up, Once Again, Quickly And Properly. So I Click The Play Button To Play The Video And The "Downloads" Box For Firefox Pops Up And Shows That I'm Downloading The Video. That's Great If I Want To Download The Video, But I Don't, I Just Want To Watch It There On The Site. I Just Now Downloaded Firefox Because I've Heard So Many Great Things About It. This Site (Liveleak) Was The First Site I Went To After Downloading, So It's Of To A Bad Start With Me For Firefox. This Site Works Fine In Internet Explorer No Problems Whatsoever, So Its Not The Site.

    Sounds that you are missing the plugin that is used to play those videos embedded in Firefox.<br />
    Your system details list doesn't show any media player plugin, so you will either have to check if the plugin(s) are installed, but disabled or install missing plugins.
    *https://support.mozilla.org/kb/Popular+plugins
    You may need the new WMP plugin (np-mswmp.dll) because Flash always uses a dedicated player to play the videos and would never offer to save videos directly unless an extension is used.
    * https://support.mozilla.org/kb/Using+the+Windows+Media+Player+plugin+with+Firefox
    * http://kb.mozillazine.org/Windows_Media_Player#Missing_plugin

  • I created a file yesterday in Pages version 5.1. Today when I went to open the file a box popped up saying that I needed a newer version pf Pages to open the file. Any thoughts??

    I created a file yesterday in Pages Version 5.1. Today I went back to open that file and a box popped up saying I need a newer version of Pages to open that file. Any thoughts??

    You have 2 versions of Pages on your Mac.
    Pages 5.2 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5.2 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Older versions of Pages 5 can not open files from later versions of Pages 5.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud and opened in a newer version of Pages is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has removed almost 100 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Peter

  • Download box popped up

    While I was online the download box appeared asking if I wanted to download three media files that I never requested to download.  I clicked clear.  I see they are still in my downloads. What should I do and do I have a virus?

    No virus but you probably did tell the system to download the files. Navigate to your download folder, move the three files to your trash and then empty the trash.
    Also if you haven't already after doing so please run Software Update and update to 10.6.8, your system appears to be way out of date!

Maybe you are looking for

  • 24" iMac builtin Camera be used with OnLocation?

    Hello, I cannot get OnLocation to find my iMac built-in camera. 24" iMac Is this not supported? Thanks, Huntër

  • Create an executable for a RT project

    Hi all, I am not sure on how to create an executable of a real-time VI. I have read about using source distributions but I have not yet used it. Can you send me some suggestions about this? Regards, Claudio

  • Validating an action expression

    How can I check programmatically that an action exists in the faces context? I am writing a JSF application that builds itself at runtime based on database-stored settings. Our less experienced developers will use a configuration wizard (also a part

  • IPhoto slideshow - how to mute all videos?

    Hi there I've put together an iPhoto 11 slideshow to be displayed during a party.  This includes photos and videos.  However, since this is really a background type thing, rather than the focus of the party, I don't want the audio from the videos to

  • T61 Sound Controls Not working with vista x64

    I recently upgraded from vista ultimate to vista 64 bit, and since the install, the sound controls do not work.  now, I know i need a special driver to make them work, but can anyone point me to the correct one?  Thanks T61 15.4" T9300 (2.5GHz 6MB L2