Comments on: Much better way of producing CSV (Excel) Files from ADF WebApplications Friends of Oracle and Java Wed, 08 Jul 2015 07:37:03 +0000 hourly 1 By: nagaraju Tue, 20 Dec 2005 06:58:14 +0000 /?p=519#comment-2078 hi all

i need solution
how to set the source for iframe for a excel sheet .
just i give source as http://systemno:8080/webapps/temp/example/xls
is there any possiability or not .
if iam giving like this excel sheet will opening in other formate in iframe
please give me the solution for that one.

By: Geetha Sat, 29 Oct 2005 13:17:22 +0000 /?p=519#comment-2077 Hi,
I’m currently developing a similar kinda appln. wherein I have to download certain things in a csv file.
The requirement is that the downloaded file should open with a unique file name
which would be system generated. But If say
< % response.setHeader("Content-disposition","attachment; filename=" + generatedfilename); %>
its appearing as generatedfile 1.csv.
Can anyone tell me how to remove the trailing 1 in the filename?
Also If I have a data that has leading zeros , in the csv sheet thats appearing without zero’s
eg . Data 0002277018 is appearing 2277018 only.
Please give a solutin for these problems asap. I’m urgently in need of these

By: Sekhar Fri, 12 Aug 2005 16:43:50 +0000 /?p=519#comment-2076 Hi, I found this topic very usefule and was able to generate CSV file.Thanks a lot for this topic.But My application is BC4J JSP,could you please tell me how can I acheive this in BC4J JSP.
Thanks Again

By: Dick Dijkshoorn Fri, 01 Jul 2005 11:50:50 +0000 /?p=519#comment-2075 You could also create a ‘real’ excel sheet by only replacing this in your original jsp:

< %@ taglib uri="" prefix="c"%>< %@ taglib uri="" prefix="x"%>< %@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
< %@ page contentType="application/" %>< % response.setHeader("Content-disposition","attachment; filename=" + "employees.xsl"); %>

Note: thus make the file name : employees.xsl instead of employees.csv.

And do not remove the html tags.

If you run the jsp page you will get a ‘real’ excel file.

By: Wouter van Reeven Thu, 21 Apr 2005 09:16:43 +0000 /?p=519#comment-2074 After having tried this, I have two comments:

1) In the “The ViewController project” section, make sure to drag and drop – from the DataControl palette – the EmpView data control that is nested in the DeptView data control. In my case this is EmpView3 and not EmpView1.

2) In the code that needs to be replaced, make sure to refer to the same EmpView data control as the one that is dragged and dropped onto the JSP page. Again, in my case this has to be EmpView3 and NOT EmpView2 as mentioned in the example code. Are you sure you included EmpView2 and not EmpView1?

After this, the code runs correctly.