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,
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
Joined: Nov 22, 2008
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
Joined: Jan 30, 2002
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.