This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Open excel in browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Open excel in browser" Watch "Open excel in browser" New topic

Open excel in browser

umar hathab
Ranch Hand

Joined: Aug 20, 2001
Posts: 52
I want to open an excel file when user clicks on a link.I am able to open using method.But I want to know is there any other way to open the file using javascript.I also get by using href="333.xls"
will be helpful if some one helps

Sun Certified Java Programmer for Java 2.0 (93%) <p>----Winners always make the learning a habit
rich werth
Ranch Hand

Joined: Sep 21, 2001
Posts: 57
i stick row and column data from a data base in html format using jsp and wrap the html code with microSofts xml. This allows the user to have an option to save the page as an Excel spreaSheet in IE or just save the file as a .xls using netscape.
To get the xml just save a file as html in Excel and cut n paste the parts that make sense.
I agree. Here's the link:
subject: Open excel in browser
Similar Threads
how can convert excel to pdf .
java- poi
excel file opening,editing and saving
Excel macro and javascript
display output table in excel file format