Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Open CSV file in a html frame using JSP  RSS feed

Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi !
After parsing a file in CSV, I have to display it in a frame.
When I did a prototype of my application, the HTML code :
<FRAMESET rows="110,*" border=0>
<FRAME name="haut" src="BarreFadet7.htm" scrolling=no>
<FRAME name="main" src="Result_20020820135422.csv">
would make what I want, which is open a dialog box which asks the user if he would rather download or open the file, and if he clicked open, he would see the csv in an excel sheet IN ie, in the lower frame.
Now that I am working with JSP (under Websphere 3.5.4, solaris 2.8, jdk 1.2.2), the exactly same code would, when the user asks to open the file, open excel and display the CSV file in it instead of loading an excel sheet in the lower frame.
What can I do to avoid this ?
Thanks to anyone who can help me !
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!