Could any of you send me a sample code for outputting data from a resultset to
an MS-Excel document.
Thanks,
Ashwani
"R.Gurumoorthy" <[EMAIL PROTECTED]> wrote:
This will fail if the data to be exported is large
-----Original Message-----
From: Stephen B. Casey [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 28, 2001 4:46 PM
To: [EMAIL PROTECTED]
Subject: Re: output EXCEL format
You can write your data out in an HTML table (i.e.
<table><tr><td></td></tr></table>). Excel will convert it for you.
> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
> Ramesh, Kesav
> Sent: Sunday, January 28, 2001 1:21 AM
> To: [EMAIL PROTECTED]
> Subject: Re: output EXCEL format
>
>
> use out.println(s+",");
>
>
> Regards
>
> Ramesh Kesavanarayanan
>
> Electronic Data Systems
> Steeple Reach,
> 25, Cathedral Road,
>
> 91-44-811 3801 to 15 ext :2186
> 91-44-233 0380 (res)
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
>
>
> -----Original Message-----
> From: zenglingsong [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 25, 2001 6:50 PM
> To: [EMAIL PROTECTED]
> Subject: output EXCEL format
>
>
> When I get the result from DB, how to output them in EXCEL format?
> That 's mean what is the EXCEL format of the string in
> out.println(<string>)
>
> __________________________________________________________________
> _________
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> __________________________________________________________________
> _________
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html