aspose file tools*
The moose likes Java in General and the fly likes Microsoft Office SDK for java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Microsoft Office SDK for java" Watch "Microsoft Office SDK for java" New topic
Author

Microsoft Office SDK for java

veena vasisht
Greenhorn

Joined: Jun 11, 2003
Posts: 3
Hi,
The web server we are using is Tom-Cat installed on HP-UX.
There are some data which I get from the server(in .csv format) & I need to show these data in excel(within webpage) on the client machine.
My questions are
1. How can I access the excel on the client machine from html page(thro' JSP or any other tool).
2. Is there anything like microsoft office java sdk that can be used to connect to excel?
Thanks in Advance,
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi,
there is definitly no MS JDK for Java.
But you can use this framework:
Jakarta POI
Works quite good.
Olli
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
If the client has an excel viewer on his machine then all you should need to do is set the mime type to application/vnd.ms-excel. You do this by calling:

before writing anything to the ServletResponse.


Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Sorry,
totally have overread that you only want to transport the file and open the plugin. Thought you would like to parse and edit it with java.
Olli
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Originally posted by Oliver Refle:
Sorry,
totally have overread that you only want to transport the file and open the plugin. Thought you would like to parse and edit it with java.
Olli

Actually, parsing a csv file is a cakewalk with the core Java API. Csv files are just comma separated lines with each line representing a row in the excel table and each field between the commas representing a cell.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Microsoft Office SDK for java