GeeCON Prague 2014*
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


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
Author

Open CSV file in a html frame using JSP

Gaelle SMITS
Greenhorn

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">
</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.


Gaelle.<br />'Never forget to abuse of good things'
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Open CSV file in a html frame using JSP