Two Laptop Bag*
The moose likes JSP and the fly likes Open CSV file in a html frame using JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Open CSV file in a html frame using JSP" Watch "Open CSV file in a html frame using JSP" New topic

Open CSV file in a html frame using JSP

Gaelle SMITS

Joined: May 16, 2002
Posts: 23
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 !

Gaelle.<br />'Never forget to abuse of good things'
I agree. Here's the link:
subject: Open CSV file in a html frame using JSP
Similar Threads
form not submitting from frame set
JSP and HTML Frames
frames problem
spredsheet should disply the dynamic data