Query the database via JDBC and store the result in a comma-delimited
file. Excel can then import the file. See Jason Hunter, "Java
Servlets," pp.250-251 for making a connection, querying the database,
and returning the ResultSet. Instead of using a PrintWriter object to
output the ResultSet, use a FileWriter to save it in a file.
Cheers!
Mark
----- Original Message -----
From: "�ӿ���" <[EMAIL PROTECTED]>
Sent: Sunday, April 08, 2001 10:13 PM
> is anyone know this?
> Servlet gets user's detail data from Database such as below....
>
> --------------------------------------------------------------------
--------------------
> user's name user's phone number user's address1
user's address2
> --------------------------------------------------------------------
--------------------
> ...
> ...
>
> And servlet makes these data to Excel file with name current date.
> how can i make this thing.....???
> Help please....
___________________________________________________________________________
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