Results 1 to 2 of 2
  1. #1
    Padmalatha is offline Member
    Join Date
    Nov 2008
    Rep Power

    Default Problem in Export to Excel using Jexcel api


    Iam implementing Export to Excel functionality using Jexcel api in my dynpage coding.

    Say I have given excel sheet name as MySampleExcel.xls in the coding.

    1. I click on Export to Excel button - > open, an excel sheet is opened with the values exported to it from the backend.
    2. If you see the excel sheet name in the top left corner, it is displaying as MySampleExcel(1). Next time, when you open , it is displaying MySampleExcel[2]. If you try to do "Save As" under File menu, it is saving with the numbers at the end of filename which is something like:


    It is randomly generating these numbers.

    What could be the problem?


  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Rep Power


    Because the browser is caching a copy, so the next time it loads the thing (and it is being delivered new, it is not reading the cahce), it attempts to cache it again, but something else already has the same name, so it adds a one up number, in order to give it a unique name.

Similar Threads

  1. Replies: 1
    Last Post: 10-10-2008, 08:47 AM
  2. Replies: 0
    Last Post: 06-21-2008, 10:53 AM
  3. export to excel
    By diana glz in forum Advanced Java
    Replies: 0
    Last Post: 03-13-2008, 11:01 PM
  4. export to excel
    By diana glz in forum New To Java
    Replies: 0
    Last Post: 03-13-2008, 09:26 PM
  5. Export excel issue
    By sanjay_sharma77 in forum Advanced Java
    Replies: 0
    Last Post: 01-10-2008, 03:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts