• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Downloading Excel file in jsp

 
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
ExamLab Creator
Marshal
Pie
Posts: 4329
238
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