Opening an Excel File using Excel 97 from a JSP populated page(Urgent)

Hello,
I am using a JSP Page to populate data from the DB.
When I am opening the same as an Excel File the JSP code is coming as the Excel page whenever Excel 97 is being used,but when Excel2000 or 2003 is being used then the data are coming as Excel formatted.I used the following code(JSP) :
<head>
<%
response.setContentType("application/vnd.ms-excel");
response.setHeader("Content-Disposition","inline; filename=ExtractData.xls");
%>
</head>

I can't even tell what the difference is between "coming as the Excel page" and "coming as Excel formatted". But then when people make urgent posts they very rarely spend the time to describe the problem accurately. Why bother when it's so damn urgent?

Similar Messages

  • How top Open a Excel Document from share point document library using jquery

    How top Open a Excel Document  from share point document library using jquery

    Hi,
    According to your post, my understanding is that you want to open excel file via JQuery.
    To open excel file, we can use the following code.
    <script type="text/javascript">
    function openExcel(strFilePath) {
    var yourSite = "http://www.yoursite.com";
    openExcelDocPath(yourSite + strFilePath, false);
    function openExcelDocPath(strLocation, boolReadOnly) {
    var objExcel;
    objExcel = new ActiveXObject("Excel.Application");
    objExcel.Visible = true;
    objExcel.Workbooks.Open(strLocation, false, boolReadOnly);
    </script>
    For more reference:
    http://www.kavoir.com/2009/01/using-javascript-to-open-excel-and-word-files-in-html.html
    http://www.dotnetspider.com/resources/43453-Open-Word-Excel-files-using-Javascript.aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • I have just purchased the new Canon 7D II.  I am using CS6 and Lightroom 5.0, neither of which can open the RAW files although I see from the list of supported cameras that the 7D II is covered.  I have updated both CS6 and LR so that is not the problem.

    I have just purchased the new Canon 7D II.  I am using CS6 and Lightroom 5.0, neither of which can open the RAW files although I see from the list of supported cameras that the 7D II is covered.  I have updated both CS6 and LR so that is not the problem.  Not sure what to do next.

    It has been indicated that both of those cameras will be supported in the final release of Camera Raw 8.7. But there is no announced release date. There never is. I assume it will be before December 31. But that is only my guess based on the fact that the release candidate expires then.

  • When i openned an excel attacment from an e-mail, it locked uped the e-mail. All other functions are ok.

    when i openned an excel attacment from an e-mail, it locked uped the e-mail. All other functions are ok.

    So if you tap the excel document you don't get a Done button at the top ? If not then try closing the Mail app completely : from the home screen (i.e. not with Mail 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't work then you could try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Opening a PDF file in Admin mode from a windows forms application (C#)

    Hi,
    I need to open a pdf file using Windows Application. I have used the below code launch the pdf files.
    Process prc = new Process();
                prc.StartInfo.FileName = "cmd.exe";
                Environment.CurrentDirectory = @"C:\SamplePDF\";
                prc.StartInfo.Arguments = " /C sample.pdf";
                prc.StartInfo.UseShellExecute = false;
                prc.StartInfo.CreateNoWindow = true;
                prc.Start();
    This code is working fine without admin mode. But while running the output exe from bin folder with admin mode(right click the exe and choose "Run as Administrator"), pdf files are not launching . But its opened in the background application and I can see this from windows task manager.
    Could anyone please help me on this issue ? Is there any other ways to launch a pdf file in admin mode ?
    -Balaji.

    Thank you for replaying so soon..
    Well you are right by using a widget and etc.. but the problem is that I have been told that this application should open a PDF file that has bookmarks to each chapter of the text and one can make a search on this text by using pdf search.. So I do not have any other choice than opening a pdf :D and my time is unfortunately limit.
    For solving the problem that the user may not have PDF reader.. well I have been told that user should install the pdf reader, so in my application package I am putting the installation file of PDF.
    But going back to my problem.. I guess is someway I have to get the OS type of the user and I have to do a SWITCH or something on the OS type and then change the content of the Runtime.exec(). But the question is how can I get the OS type and what should I change in Runtime.exec().
    So now any idea? any solution??

  • How to open jpg, tiff files in camera raw from elements 10 organizer

    How to open JPG, TIFF files in camera raw from Elements 10 organizer.

    Thanks for that Damead, I agree with you that Organiser is real pain (there is a total lack of intuitiveness if that is  the correct word).
    For my own work I use 'Lightroom' for around 90% of the time, only going into PSE10 for the 10% difficult bits the Lightroom can't handle.
    I only needed to sort out the JPEG file opening method within PSE10 for some freinds in a small Photo Group that I run in Woodhall Spa, UK. 50% of the 12 members are beginners & a number of them do not have Raw capability on their Camera's, but now they can get their JPEG's into Camera Raw within PSE10 they have the same simple tabular form of adjustment sliders (not as many as in Lightroom of cause) but it gets over the labourious problem of going thru the PSE10's individual tool selection process each and every time since we are trying to get everyone in the Group working with individual Tools rather than the 'Auto' functions. We do this so that they learn what they are doing rather than staying 'dumb&happy' within Auto all the time & they also learn how to get more detailed control for each photo.
    Ref. your comments on file handling/usage, I agree with your comments. Its far and away much more preferable to set up a file structure in 'Finder" (or in 'Explorer' if still using Windows) that you understand so you always know how to find the files. Also, I also never ever use the Camera Auto Load programme but physically 'drag & drop' photo files direct from the 'card' into the file system so I always know thier place (ie: they go into the location I want, not that which the Auto Loader wants).
    As regards your comment about 'Lightroom', I don't have any problems at all since I just imported the whole of my photo file structure into the Lightroom Library Catalouge and then it automatically shows up on the LHS of the screen, still in that format, so you can search it direct within Lightroom and display all of the photo's in variuos arrangements and sizes; everything is as easy to find as it is in 'Finder' plus of cause you have all the 'Tagging' possibilities to use as well. As you add more new files into the 'Finder' structure, all you need to do in Lightroom is reimport, starting 1 level up from the new files and Lightroom will find the new files that need loading (ignoring the older ones already in the Library at that or lower levels) then 1 click and its done.
    Your comments about getting others to follow a set file structure is very pertinant and also applies to evrything else that one ever does apart from just photo work; the times I have had to help others find info/files etc on their PC's because they don' know the location of anything is too many to contemplate.
    Regards

  • How do I open a .dd file using OS X?

    I had a corrupt external HDD which i used to use with an old laptop. I used data recovery software and managed to recover 33gb of data. However it is saved in the old diskdoubler format. (.dd file extension). How do I open a .dd file using OS X? ive tried stuffit and unarchiver but they dont work. any help?

    Look at these links.
    http://forums.appleinsider.com/archive/index.php/t-40241.html
    http://www.enews.org/blog/2009/03/opening-diskdoubler-files-from-mac-os-9.html
     Cheers, Tom

  • IDE /Tool which can open  a jpd file stored in UNIX  from our windows deskt

    wanted to know which IDE /Tool can open a jpd file stored in UNIX from windows desktop

    Hi Antônio G,
    Based on your description, I’m afraid that it is not the correct forum for this issue, since this forum is to discuss:
    Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.
    To make this issue clearly, would you mind letting us know more information about this issue? Which language are you using? Which kind of app are you developing?
    Reference:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/a9e1857d-dd5b-443b-8633-397aea6e7b8c/help-on-properly-handling-wmf-mmanisotropic-image-in-rtf-file-when-extracted?forum=csharpgeneral
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/5b99d331-ef56-4d60-bf12-3e3b70783376/how-to-convert-a-hex-string-save-in-a-rtf-file-into-an-image-jpg-or-bmp?forum=csharpgeneral#a9219408-f73b-4e98-a9d8-7a1e0f20cdd9
    Maybe you could select the language development forum for this kind of issue. If not, please let me know more information about it, I will help you find a more appropriate forum.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • HT4623 I update my iPad mini retina with iOS 7.1 resulting in not being to down load NOR OPEN  PPT, WORD files using iWork, page, can anyone pls help?

    I update my iPad mini retina with iOS 7.1 resulting in not being to down load NOR OPEN  PPT, WORD files using iWork, page, can anyone pls help?

    You want to just use Dropbox until the dust settles.  To use it from iWork for iOS (assuming you have the Dropbox app installed on your device), open the document in Keynote (for example), tap the share icon (box with upward pointing arrow), choose Open in Another App, choose Keynote as your format, then choose Open in Dropbox and you will get an option to save it to your Dropbox account.  To open it from Dropbox in iWork for iOS, open the document in the Dropbox app, tap the share icon, tap Open in Keynote (for example).  It's a bit clunky, but works. 

  • What software is needed to be able to open the olm file I have exported from Outlook to my documents when transfering my Microsoft Office Contacts to my Mac Addressbook?

    what software is needed to be able to open the olm file I have exported from Outlook to my documents when transfering my Microsoft Office Contacts to my Mac Addressbook?

    You might find a solution here: how to convert microsoft outlook contacts to apple address book - Google Search
    OT

  • How to open a pdf file using OPEN DATASET

    Im trying to convert a pdf into binary format. So im trying to read the contents of the pdf into a XSTRING. Using the FM 'SCMS_XSTRING_TO_BINARY' i can convert the XSTRING to binary format.
    How to open a pdf file using OPEN DATASET and transfer its contents in a XSTRING variable.
    What i've tried is....
    DATA: f_name type string value 'C:\rep_output_pdf.pdf',
          x1 type xstring,
          LT_DATA TYPE STANDARD TABLE OF X255.
    OPEN DATASET f_name FOR input IN BINARY MODE.
    READ DATASET f_name INTO x1.
    CLOSE DATASET f_name.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          BUFFER     = x1
        TABLES
          BINARY_TAB = LT_DATA.
    Im getting a short dump .
    Short text: The file is not open.
    Plz help me out.

    Hello Rajesh,
    You are trying to do use OPEN DATASET with a local file. NOT POSSIBLE
    You have to have the file in the app server to use OPEN DATASET.
    BR,
    Suhas

  • How to read two text files using the Read from spreadsheet.vi and then plot it

    I need to read two text files using the read from spreadsheet function and then plot these files over time.
    The file with the .res extention is the RMS values (dt and df) and the second file contains the amplitude of a frequency spectrum.
    I really appreciate any help..thanks
    Attachments:
    RMS.txt ‏1 KB
    FREQUENCY.txt ‏1 KB

    From NI Example Finder:
    Write to Text File.vi
    Read from Text File.vi
    Jean-Marc
    LV2009 and LV2013
    Free PDF Report with iTextSharp

  • How to open the pdf file using LabVIEW program

    I want to open the pdf file using the system exe, but it is not happening . Can you help me?
    Solved!
    Go to Solution.

    In simpler version
    Mark the satisfied answer as accepted solution for your question,you mistakenly marked youself 
    Message Edited by Baji on 04-07-2009 05:03 PM
    Balaji PK (CLA)
    Ever tried. Ever failed. No matter. Try again. Fail again. Fail better
    Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
    Attachments:
    open pdf.JPG ‏25 KB

  • How to open a doc file using jsp Anchor tag

    when i am trying to open a doc file using a jsp it is opening with out proper alignment.
              how to open a doc file with proper alignment using Anchor Tag in JSp Page
              

    Hello!
    Does some one of you had open a MS word file (.doc) in Java search for a token like [aToken] replace it with another text and then feed it to a stream of save it?
    I want to build a servlet to open a well formatted and rich on media (images) ms word document search for tokens and replace them with information form a web form.
    Any Ideas?
    Thank you in advanced.

  • How can I open old cwk files using OS X 10.8.4?

    I have tried to open old cwk files using Pages, using Numbers and using Keynote as well as trying to open them with Word or even OpenOffice.  However, the most I can get is what looks like gibberish.  Any suggestions?  Thanks

    Don't know if you found a solution to your cwk File problem but I had the same problem and solved it by downloading this program and was able to open my old cwk files.
    libreoffice That will oppen old cwk files and its free (by donation)
    Hope this helps?
    Cheers

Maybe you are looking for

  • Mobile Me stopped working on my iPad last night..in fact the settings disappeared.

    Last night Mobile Me on my iPad 2 stopped working.  I went into settings to investigate and noticed that I no longer had slider options for mail, calendar, contact.  The only slider option was for find my device.   Curious, I opened my iPad first gen

  • Purchase Requisition for Order BOM components ?

    Dear Members : Can I generate purchase requisition for Order BOM components from VA01 ? Mine is TAQ - the header itm cat and TAE for sub-items (finished prod) . While navigating within Sales Order and branching to a particular component's shced. line

  • Photo Stream not working for Windows 7 iCloud

    I am using an iPhone 4 and Windows 7--I have downloaded iCloud but when I take a new picture on my iPhone it does not show up in my "Uploads" folder. Am I doing something wrong?

  • WRT54GL router compatible with Mac?

    Does anyone know if the Linksys WRT54GL router is compatible with Mac computers?  Thanks for any insight.  

  • Import stops at 30 pictures

    Using the Media Reader to transfer pictures to a 60 gig iPod photo with a 256 SanDisk CF card. Was trying to transfer 56 pictures. It just quit at 30 pictures, and there were 26 question marks in the iPod thumbnail section after the 30 pictures that