Results 1 to 4 of 4

Thread: Export to Word

  1. #1
    shaikahmed is offline Member
    Join Date
    Nov 2010
    Posts
    2
    Rep Power
    0

    Default Export to Word

    Can anybody share java code to export data from java application to MSWord
    Also please share Jar/Lib files that are required.

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,988
    Rep Power
    9

    Default

    What do you mean by "export to Word"? Do you just want to output to a file that Word can open? Something else? What have you tried?

  3. #3
    shaikahmed is offline Member
    Join Date
    Nov 2010
    Posts
    2
    Rep Power
    0

    Default

    My application is getting some data from database(Oracle) like name,age,sex,qualification etc. in a jsp page.
    There is a link in jsp page "Export to Word". My requirement is that when I click "Export to Word",
    A word file should open with Table in word should be pre-populated with the data that I am getting from oracle.
    User should be able to use this word file as normal word file

  4. #4
    Tolls is online now Moderator
    Join Date
    Apr 2009
    Posts
    12,091
    Rep Power
    20

    Default

    Look at Apache POI.
    I've done Excel exports before, but not Word ones...the API shold be able to handle creating a basic Word document with a table in it though.

Similar Threads

  1. How do I export to a Jar?
    By Bread in forum Eclipse
    Replies: 4
    Last Post: 11-15-2010, 12:03 AM
  2. export to xml
    By karq in forum Advanced Java
    Replies: 0
    Last Post: 10-01-2010, 10:49 AM
  3. export eps
    By mr_empty in forum Java 2D
    Replies: 0
    Last Post: 04-25-2010, 08:40 AM
  4. export to excel
    By diana glz in forum Advanced Java
    Replies: 0
    Last Post: 03-13-2008, 11:01 PM
  5. export to excel
    By diana glz in forum New To Java
    Replies: 0
    Last Post: 03-13-2008, 09:26 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
  •