My suggestion is to get the source for displayTag (http://displaytag.sourceforge.net) and look at TableTag.doExport() and CsvView.

Dennis



klute <[EMAIL PROTECTED]>

07/07/2004 10:28 AM

Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>

To
Struts Users Mailing List <[EMAIL PROTECTED]>
cc
Subject
OT: exporting data as .csv in Struts webapp





Hi All,

I am looking for some best practices advice on
handling this task:

I have a web application (written in Struts) that
talks to some database. A browser user will be able
user to export tabular data from the db in a comma
delimited file and get a save as dialog box prompting
to name the resulting file.

I have not done this before so i am looking for
suggestions on how to accomplish it (in terms of java
object interaction and whatever else).

Thanks a lot,
James

---
http://www.devbistro.com


                                 
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to