Servlet file download works in IE7 and FireFox but not IE 6

We have a table with export button. When user clicks on export link, we download table content as csv file. It is working correctly in IE7. In IE6, It is not working. When user clicks export button, I am gettting the folloiwng information
File Download box reports
Name: GridAction.action
Type: Unknown File type
FromL localhost
This is my code.
//oResponse is HttpResponse
// Set the content type
oResponse.setContentType("text/plain");
// Set the content-disposition aka the file name
oResponse.addHeader("Content-disposition", attachement;
filename=test.csv");
// Set the cache control
oResponse.setHeader( "Cache-Control", "max-age=1" );
// Get the outputstream
OutputStream oOutput = oResponse.getOutputStream();
// Copy content to output
oOutput.write(grid.getExporter().getContent());
// Flush
oOutput.flush();
What am I doing wrong???

I don't understand..Can u explain more ?
oResponse.addHeader("Content-disposition", attachement;filename=test.csv");
Although this can't be your real code anyway.

Similar Messages

  • Quicktime file works in Camino and Firefox, but not Safari

    Hi all,
    I just updated my iWeb site, which I use as a portfolio site. I have quicktime files loaded that are commercials I've worked on. Today I added one via iWeb, loaded it, then went to watch it and it doesn't work. The page opens, the QT window is there, but it's like the file doesn't load. The play line at the bottom remains light gray, and it doesn't fill up showing that the file is loading. HOWEVER, i've gone to both Camino and Firefox and it plays in both of those browsers.
    I was previously on 3.1.2 and noticed there was an update available. Updated, then tried again and the same problem persists. I'm confused.
    I'm guessing this has to be a Safari thing since i've been successful getting it to play in 2 other browsers. Has anyone come across this and know of anyway I can get this work? Having this available for viewing is pretty important, as I use that site as a portfolio site and a means of getting jobs. Any help would be appreciated. Thanks.

    Okay, so both are back in the folder and I'm back to where I started; the QT window loads, but the status bar does not seem to be loading, that is, I can hit the play button but it won't play b/c it's like the file is not loading.
    I did go to Help>Safari>Installed Plug-ins. Both are shown; there's a section for QuickTime Plugin.plugin and for QuickTime Plugin.webplugin. Both have a much larger header above them that says "QuickTime Plug-In 7.5.5." Not sure if that's pertinent or not. Just thought I'd post that info.
    Okay, so here is the page to my spot that doesn't work in Safari, but does in Camino and Firefox:
    http://www.smithcory.com/portfolio/NFLSuper_AdPromo.html
    It's a small file, 4.6MB's so I can't imagine file size being a problem. There is a slight difference bt firefox and Camino when playing it; in Firefox, it takes about 8 seconds before it will start playing, like Firefox is loading it or something. In Camino, it plays right away. Not sure if that helps or is pertinent again, but just trying to provide as much info as I can. Thanks for the help.

  • Flash Player 10 works in Safari and Firefox, but not IE 8?

    Most times (not all) I load a page with Flash in IE, when I close, I get an error saying "IE has stopped responding" and then says it's something to do with Adobe Flash player. Since IE is the only browser that seems to freeze and stop responding due to Flash Player, could it be a problem with IE and not Flash Player?  If so, how do I fix the problem?  Please help.  I'm getting desperate.  I've been installing and uninstalling for at least two days now with no successs. 

    The error is "Internet Explorer has stopped working.  A problem caused the program to stop working correctly.  Windows will close the program and notify you if a solution is available". Then when I click on the Windows solutions icon, it says:
    Adobe Flash Player has stopped working properly.
    To troubleshoot this problem, follow these steps:
    Click to go online and run the Flash Player  uninstaller
    In the File Download dialog box, click Run, and then follow the  instructions to uninstall flash player. If you are prompted for an administrator password or confirmation, type the  password or provide confirmation.
    Click to go online and install the Flash Player update
    I've done both these things for 2-3 days now.  Nothing works.

  • PDF Documents with Functional Buttons - Works for IE and FireFox but not for Chrome and Safari

    To all,
    Good morning.  Our institution developed a PDF document with functional buttons for printing and e-mailing.  When the document is viewed via Internet Explorer and Firefox, the functional buttons work as expected.  However if the document is viewed via Chrome and Safari, the functional buttons do not work.  The workaround for those who are using Chrome and Safari, the PDF document needs to be saved to their local drive before the functional buttons work.
    Has anyone experienced this issue before?  If yes, what was your solution other than the workaround.
    Thanks.
    Babylon5

    Here's how to configure your browser to run Adobe Reader: http://helpx.adobe.com/acrobat/using/display-pdf-browser-acrobat-xi.html

  • Just installed IE 10. Adobe Flash is installed, and works in Chrome and Firefox, but not IE10

    Please, someone tell me what's going on. This is driving me nuts!
    [email address removed]

    Download the Adobe Flash Player installer directly by right clicking the following link and selecting "Save target as" (IE).
    Flash Player for ActiveX (Internet Explorer)
    Save it - DO NOT run it.
    Reboot, and THEN run it.
    If you're still having IE troubles,
    See:ActiveX Filtering in Internet Explorer
    and: Enabling Flash Player in Internet Explorer

  • My bulleted list displays correctly in IE 8 and Firefox, but not in IE 7

    I have a simple bulleted list in a right floated sidebar for a website. If views fine in IE 8 and Firefox, but not in IE 7 (and perhaps earlier, though I only have access to machines with IE 7 and 8.
    Because the default indent for the bulleted list moves it too far to the right, I set a negative margin for that area of text in order to move it to the left a little. While it looks great in IE 8 and Firefox, it appears this margin setting is causing the bulleted list to shift too far to the left in at least IE 7. The rest of the copy in the sidebar div lookes fine including the title and paragraph copy.
    Can anyone suggest a fix?
    Also, I noticed the spacing above the main content div is smaller in IE 7 than with the IE 8 and Firefox. This div has a h1 heading followed by paragraphs. (This site was developed using a pre-existing CSS style sheet from Dreamweaver by the way.)

    Strangely when I replied via e-mail my message got garbled when I looked at it here.
    I was able to move over the bullet items to the left using your suggestion, however it now shows this line of copy above the page at the top of the window in the IE browser (both IE 7 and IE 8):
    <!--[if lte 7]>
    I'm including the code where you had indicated I should place it - in the <head> section after the link to the main stylesheet. I included it just after the other conditional comments. Perhaps I've included it in the wrong place - hence the line appearing above the pages (just above the banner)?
    I did not change any other parameter. (This is a template page as all pages in the site are based on it.) The list feature does appear on a number of pages.
    Also I should note the bullets have mysteriously disappeared and it's actually an unbulleted list in IE 7, which I could live with if I have to.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Home Page</title>
    <!-- TemplateEndEditable -->
    <link href="../css/twoColFixRtHdr.css" rel="stylesheet" type="text/css" /><!--[if IE 5]>
    <style type="text/css">
    /* place css box model fixes for all versions of IE in this conditional comment */
    .twoColFixRtHdr #sidebar1 { width: 190px; }
    </style>
    <![endif]--><!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .twoColFixRtHdr #sidebar1 { padding-top: 10px; }
    .twoColFixRtHdr #mainContent { zoom: 1; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]-->
    <!--[if lte 7]>
    <style>
    .twoColFixRtHdr #container #sidebar1 ul {
    margin-left: 25px
    </style>
    <! [endif]-->
    <style type="text/css">
    <!--

  • Tabbedpanels works in FF and Safari but not IE6 & IE7

    I've got a page with tabbed panels pulled from an XML file. It works fine in Safari and Firefox but silently fails in IE 6 and 7
    The page is here:
    http://www.hillcrest.jobs/rhino.php
    The XML feed is here:
    http://www.hillcrest.jobs/rhinofeed.php
    I'm fairly certain its the repeatchildren div where the error is but I have no idea what breaks IE. Can anyone take a look at the code on the page and see if there is anything I've missed?
    <div id="example1Region" spry:region="dsJobCats dsCats">
    <div id="TP1" class="TabbedPanels">
    <ul class="TabbedPanelsTabGroup">
    <li spry:repeat="dsJobCats" class="TabbedPanelsTab" tabindex="0">{dsJobCats::@name}</li>
    </ul>
    <div class="TabbedPanelsContentGroup" spry:repeatchildren="dsJobCats">
    <div spry:repeatchildren="dsCats" class="TabbedPanelsContent">
    <div id="jcat_{dsCats::@id}" class="rhinoCat" onclick="toggleCat(this.id);">{dsCats::category}</div>
    </div>
    </div>
    <script type="text/javascript">           var t1 = new Spry.Widget.TabbedPanels("TP1");      </script>
    </div>

    You are sending the xml feed with the header text/html.
    set a correct XML header and it will work
    Arnout Kazemier
    Adobe Spry Community Expert | Speaker Adobe MAX 2009
    3rdEden | 3rd-Eden.com | Spry-it.com | config.Spry-it.com
    Twitter: http://www.twitter.com/3rdEden | http://www.twitter.com/AdobeSpry

  • Infragistics gridview control sorts in Google Chrome and Firefox but not in IE11

    I have an Infragistics webdatagrid control on my website homepage that displays few information in form of rows. The code is as follows
    <asp:Panel ID="Panel" runat="server">
    <ig:WebDataGrid ID="UltraWebGrid" runat="server" oninitializerow="UltraWebGrid_InitializeRow"
    EnableRelativeLayout="false" HeaderCaptionCssClass="GridHeaderCaption"
    OnInit="UltraWebGrid_Init" onrowupdated="UltraWebGrid_RowUpdated" OnRowUpdating="UltraWebGrid_RowUpdating" OnColumnMoved="UltraWebGrid_ColumnMoved"
    EnableAjax="true" EnableAjaxViewState="true" EnableDataViewState="True" OnColumnResized="UltraWebGrid_ColumnResized" OnColumnSorted="UltraWebGrid_ColumnSorted">
    <Behaviors>
    <ig:Sorting >
    </ig:Sorting>
    <ig:ColumnMoving EnableInheritance="True">
    </ig:ColumnMoving>
    <ig:Filtering FilterType="ExcelStyleFilter">
    </ig:Filtering>
    <ig:ColumnResizing EnableInheritance="True" >
    </ig:ColumnResizing>
    <ig:EditingCore AutoCRUD="false">
    <EditingClientEvents CellValueChanged="UltraWebGrid_Editing_CellValueChanged" />
    <Behaviors>
    <ig:CellEditing>
    <CellEditingClientEvents />
    <EditModeActions EnableOnActive="True" MouseClick="Single" />
    </ig:CellEditing>
    </Behaviors>
    </ig:EditingCore>
    </Behaviors>
    </ig:WebDataGrid>
    </asp:Panel>
    The column is sorted accordingly when user clicks any column header. This happens in Chrome and Firefox but in IE we have a weird behavior as below
    Users complain that when they get to the home page for the first time , and they try to sort on the grid, the operation doesn’t get done. They need to go into a row before the sorting works, and after that everything is fine.
    Any idea or pointers would greatly help. 
    K.V.N.PAVAN

    Since this is a WPF forum I would suggest that you go to the Asp forum for help.
    http://forums.asp.net/
    Lloyd Sheen

  • Tab key won't work. Works in IE8 and Safari but not Firefox. Thoughts?

    About a week ago, the tab key stopped working in Firefox (when I updated Firefox?). It works fine in IE8 and Safari. I love Firefox but will have to switch if I can't get this resolved.
    Thanks.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Works in preview and IE but not Firefox

    Hi All,
    I have a 6 page prototype in Fw with each page containing mutliple types of behaviors (rollovers, swaps, nav bar).  They all work great in "preview and IE".  However, in Firefox I have 3 out of 4 rollovers on the same page that do not work.  I have tried both rollover and image swap.  All the other slice/behaviors on all the other pages work in "preview, IE and Firefox"?
    Thanks,
    Randy

    Hi Linda,
    When I exported the project all of the pages worked correctly.  I was able to show the prototype with everything working.  I later rebuilt the page from scratch and everything worked in preview mode as well as once exported.
    Thanks for the response!
    Randy

  • HTML5 Video Works In Live and Preview But Not on My Website

    I feel totally ripped off by Adobe, again, I talked to a sales representative who told me that if I bought CS6 I would be able to easily install html5 video because the new version had an insert function that did most of the coding for you and gave you a properties view to select alt source...  Now, I find out that is only available in the Cloud version.  What a bunch of ....  
    Anyway, I can't get my video to play in IE, but it works fine in FireFox.  I am using Windows so don't know about Safari.  The live view and the preview in browser video works just fine but when I upload it to my site the webpage with the video has a space where the video is with dotted lines around it, but it is empty.  The control panel flashes for a second but disappears.  The video file is there in three versions.  I check the MP4 version and it works fine, as I said it works in the preview IE browser.
    Any ideas?  Very frustrated, I figure if I had the properties view or could have inserted the file via HTML5 video command it would probably work. 
    Here is my code: 
    <video id="0" preload="metadata" controls width="640" height="460">
            <source src="FunWithMyFriend.ogv" type='video/ogg; codecs=&quot;theora, vorbis&quot;'/>
            <source src="FunWithMyFriend.webm" type='video/webm' />
            <source src="FunWithMyFriend.mp4" type='video/mp4' />
            <p>Video is not visible, most likely your browser does not support HTML5 video</p>
          </video>

    Thanks Nancy, you're sure right about the user - I am a newbie and quite ignorant yet.  I am a Linux user through Host Gator (not so good btw - slow over-crowded servers).  I checked and added the basic MIMEs that I am trying to play.  h.264, mp4, mov, ogg (OGV), WEBM, even wmv. 
    Here is the page - it is 3/4 of the way down the page where I try to include a graphic file that won't play in IE9 but will in Firefox and Chrome.
    http://christopherproductions.us/Graphics.html
    I tried reconfiguring the MP4 file several times using all sorts of settings here is the most recent versions and my code on this page.  Note on the webpage below I explain that the Sony Movie Studio forum suggests saving in MainConcept AVC/AAC (*.MP4/*.AAC) Internet HD 720P  codec   I also tried saving in WMV and then using Freemake to convert the file to HTML5 (it makes three files, obviously the ogv file works in Firefox, I don't know about the WEBM file, but it looks like the mp4 file doesn't work, that is why I made one file specificially for mp4 using Movie Studio to render it.)
    http://christopherproductions.us/AdobeForumHelp.html
    Thanks to anyone who helps - I really appreciate it.

  • Documents to Go Password Works on Q10 and Playbook but not on MS Excel 2007,2010 nor 2013 on PC

    This has been really frustrating for me. I'm a long time BB user (over 6 years) and want to promote BB and its features, but when straigtht forward features don't work and  when it hard to  find any information on why they don't work is painful.
    The excel file that I have I can edit and save it on my Playbook, and Q10, but when I copy the file to my PC and try to open it, I get an error message from excel that the file is corrupted.   I have tried different options (i.e., renaming the file then copying it, trying to open it with excel 2007, 2010, and 2013, using the Web App to open it, and it says  that I need Rights Management (RM) to open.)  Does anyone know of a means to open  without using software to break the password. I appreciate any assistance.

    Hey garyr501,
    Welcome to the BlackBerry® Support Community Forums.
    To better assist you I have a couple questions; If you go to the properties of the Excel file on your PC what is the file format? And does this happen with all Excel files created on the BlackBerry smartphone using Documents to Go?
    I look forward to hearing back.
    Thanks.
    -HB
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Memory Stick works with G4 and G3 but not G5 iMac

    I have a memory stick that connects correctly with a G3 iBook and G4 iMac but not a G5 iMac. When plugged into a G5 USB port, the memory stick appears on the desktop but not the Finder. Doubleclicking on the desktop icon generates a Finder window in which the memory stick appears in the second column from the left along with the other icons in the top half of the leftmost column. Clicking on the icon for the memory stick in that Finder window fails to open it. The File menu has a item for ejecting the memory stick, but ejection does not result. I have also tried without success to drag the icon to the trash. So I just physically remove it, which produces a message saying the device was not properly removed.
    Any ideas for enabling this memory stick (which has admittedly been through the wars) to work with the G5 iMac? Thanks

    Thanks for the suggestions, Charles.
    The G5 keyboard is Bluetooth so I've been plugging the memory stick into the back of the machine.
    I've repaired permissions on the G5. I tried to repair the memory stick in Disk Utility but elicited only the spinning beachball. As I was typing this I realized I hadn't tried repairing the disk (i.e., the memory stick) on another computer. I did, and after a few seconds the screen said no repairs necessary.
    The memory stick did eject the first time I plugged into the G5 after that. But the other problems remained. And then when I plugged it back in, it no longer ejected electronically. So I'm back where I was.

  • PDF form submission problem - works in Acrobat and Reader, but not when embedded in browser

    Hello everyone,
    I am trying to submit a PDF form to an application server.
    To do this, I added a "Submit" button to the PDF, configured the server's address and submit format, and tested the button.
    I opened the PDF in Acrobat Pro, clicked the button, and my web application received the form in PDF format just as I wanted.
    To make it work in Reader, I had to extend user rights via Acrobat Pro, and then the form worked inside Reader as well.
    Up to here, everything went fine.
    Then I embedded the PDF in a web page (which will be the final scenario) and it all stopped working.
    The submit button doesn't do anything anymore, and no data is sent to the application server.
    I even tried switching from the form's submit mechanism to calling event.target.submitForm(...) in Javascript directly, but nothing changed (meaning this too worked only when opening the form as an "offline" pdf, but not when embedding it in a web page).
    Is there something I am missing? Something else that must be configured/activated in order to be able to submit the PDF when it is in the form of an embedded object?
    Many thanks in advance,
    Alex

    Thanks for your reply, Paul.
    I tested the submit button both in Reader 9.3 and Acrobat 8 (which is the same I used to RE the PDF).
    Apparently I got it working too, but only by deploying my embedding web page to an application server.
    The final environment the PDF will be embedded into will be inside a web application deployed to an application server, so I guess my problem is solved.
    It didn't work only when embedded into a local test.html web page saved on my PC...
    Thanks again, have a good day.
    Alex

  • Airplay works for phots and video, but not music on 2nd gen touch

    Upgraded to 4.2 on 2nd gen touch. I can send photos and videos/movies to AppleTV via Airplay, but not music. I can select AppleTV when playing a song on Touch and the music stops playing from Touch, but never plays from AppleTV. Audio works just fine for movies sent to AppleTV.
    Anyone else experience this?
    Support told me that this feature is not supported on 2nd gen Touch and I'd have to buy a new Touch. The Apple website says feature is supported. A second call to support and they said it is. ?????

    Im having a similar problem where after a period of time I can get neither my iPhone 4 or iTouch 2G to see the Air Tunes speakers on my Airport Express base station. Always works fine from my computer's iTunes though. What I found works is powering off and rebooting the phone / iTouch (not just locking it). When it reboots go to your music and maybe you'll see the Apple TV or Airport Express icon appear now. Works for me anyways. After a while, they will "forget" and I need to reboot the phone again to find it. I think there are kinks in the 4.2 iOS that need to be sorted out.

Maybe you are looking for

  • Show Pop Up Menu

    I'm having trouble accessing the "show pop up menu" option in the behaviors + palette. It's greyed out. I am just trying to create a pop-up menu for some links. Here's what I'm doing: 1. highlight the word that will be the link 2. type # in the link

  • Contextual help not working

    1 - First of all, the contextual help is not working. When I click on a word, for example, textFormat, I get redirected to this page: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/index.html on this page, i am asked to choose a p

  • Executing a shell command

    Hi, I'm new hier and have a short question. How do I execute a shell command from Java code? Have a nice day and lot of fun Yury

  • Maxwell Air Voltage - wireless charger

    Hi, I bought recently a Maxwell Air voltage, wireless charger. When charging, my iphone 4S does not stop vibrating every 2-3 min. I would like to know if there are other similar experiences. The company Maxell says this is not an issue, what I can't

  • How can I delete permanently books purchased from ibooks

    Is there a way to delete purchases permanently from iBooks? I can delete from the library, but you can still see them under purchases; I don't want them under purchases; I don't want to see them ever again.