This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Open excel in browser

 
umar hathab
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to open an excel file when user clicks on a link.I am able to open using window.open() 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
A.Umar
 
rich werth
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic