Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Open CSV file in a html frame using JSP

 
Gaelle SMITS
Greenhorn
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">
</FRAMESET>
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 !
Gaelle.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic