This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Downloading Excel file in jsp  RSS feed

 
Ganeshkumar cheekati
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am trying to download excel file and this is my jsp code





javascript code to open new window..




its acting differently in different versions of IE..
IN IE6 excel sheet is opening in new window which i provided in javascript...

but in ie8 excel sheet is opening in normal sheet format istead of opening in new window using javascript..

Can anyone give me solution ?

Thanks in advance...
 
Devaka Cooray
Marshal
Posts: 5323
575
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If your question had something to do with Java, I'd say that first you should move all these Java codes away from your JSP, as the purpose of a JSP is only to provide the output as a viewer component - it shouldn't have any business logic to be done with pure Java code.
For now, this question looks like more related to JavaScript - moving this to HTML/JavaScript forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!