Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Microsoft Office SDK for java  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
there is definitly no MS JDK for Java.
But you can use this framework:
Jakarta POI
Works quite good.
Olli
 
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!