Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: export result into excel sheets

  1. #1
    Junior Member
    Join Date
    Nov 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default export result into excel sheets

    Hi i hav done one online project in java using eclipse and i need to export the result of particular query to excel sheet.. please help me in this..


  2. #2
    Junior Member
    Join Date
    Nov 2012
    Posts
    9
    My Mood
    Cold
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Re: export result into excel sheets

    I think you must use a combination of the Java Scanner object and the File object.

    This may you can take the values stored in variables and so forth in your application or applet (in temporary memory) and write them into a text file of something (permanent memory).

  3. #3
    Super Moderator curmudgeon's Avatar
    Join Date
    Aug 2012
    Posts
    1,130
    My Mood
    Cynical
    Thanks
    64
    Thanked 139 Times in 134 Posts

    Default Re: export result into excel sheets

    Quote Originally Posted by steven_bishop View Post
    I think you must use a combination of the Java Scanner object and the File object.

    This may you can take the values stored in variables and so forth in your application or applet (in temporary memory) and write them into a text file of something (permanent memory).
    To Steven Bishop: What does this have to do with interfacing Java and Excel? I think that you may wish to re-read the original question and edit your post so that it makes sense for the question.

    To the original poster, have you explored Apache POI yet? This may be your best option for this functionality.

Similar Threads

  1. how to export data from servlet to excel file through poi lib
    By nicholas.omosa in forum Java Servlet
    Replies: 0
    Last Post: November 10th, 2012, 08:13 PM
  2. Replies: 1
    Last Post: April 7th, 2011, 07:01 AM
  3. Export Excel which has more than 1 worksheet
    By rajesh_grs in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: March 22nd, 2011, 02:10 PM
  4. Export to excel
    By ebosysindia in forum File I/O & Other I/O Streams
    Replies: 7
    Last Post: May 14th, 2009, 06:25 AM