This week's giveaways are in the MongoDB and Jobs Discussion forums. We're giving away four copies of Mongo DB Applied Patterns and 4 resume reviews from Five Year Itch and have the authors/reps on-line! See this thread and this one for details.
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
posted
0
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
posted
0
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:
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
posted
0
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
posted
0
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.