tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Baer <jonb...@digitalanywhere.com>
Subject Re: Mission Impossible for JSP??
Date Mon, 12 Jun 2000 13:53:50 GMT
I beleive that when you save or output your file do something as such (using /t
as a tab):

<%@ page type="application/ms-excel" %>
<%
String row = "rec1\trec2\trec3\trec4";
out.println(row);
%>

or using a comma (,)

<%@ page type="application/ms-excel" %>
<%
String row = "rec1\",\"rec2\",\"rec3\",\"rec4\"";
out.println(row);
%>

- Jon

Darren Lee Deliang wrote:

> OIC, but erhm, wat is a csv? how to create it? any websites? tips? thankx a
> billion!
>
> >From: "Jeff Rhines" <jrhines@email.com>
> >Reply-To: tomcat-user@jakarta.apache.org
> >To: <tomcat-user@jakarta.apache.org>
> >Subject: RE: Mission Impossible for JSP??
> >Date: Mon, 12 Jun 2000 07:58:18 -0500
> >
> >Could use the JDBC-ODBC bridge to an Excel ODBC driver.  Or, if you don't
> >need any excel-specific functionality in the file (macros, etc), just spit
> >out a .csv file.  No driver needed.
> >
> >Jeff
> >
> >-----Original Message-----
> >From: Tom [mailto:tom@sdf.com]
> >Sent: Monday, June 12, 2000 12:06 AM
> >To: tomcat-user@jakarta.apache.org
> >Subject: Re: Mission Impossible for JSP??
> >
> >
> >
> >On Mon, 12 Jun 2000, Darren Lee Deliang wrote:
> >
> > > HI,
> > >
> > >      I just wonder can I generate an EXCEL file from JSP based on a
> >database
> > > record retrieved from an SQL Server 7 or izzit possible to generate one
> >from
> > > SQL?
> > >
> > > Darren
> >
> >   SQL or not doesn't really have anything to do with it.  If there is a
> >Java class to build Excel files on the fly, you should be able to do it.
> >I'm not aware of anything like that though.
> >
> >   I understand that Chillisoft has a library that can generate Excel files
> >on the fly.  However, it is native code, and is designed to be called from
> >their ASP product.  Though I understand they have added some Java support.
> >See http://www.chillisoft.com
> >
> >Tom
> >
> >
> >--------------------------------------------------------------------------
> >To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commmands, email: tomcat-user-help@jakarta.apache.org
> >
> >
> >
> >
> >--------------------------------------------------------------------------
> >To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commmands, email: tomcat-user-help@jakarta.apache.org
> >
>
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org


Mime
View raw message