Hi,All
I have a scenario in my project: there will be a search result page , it's
layout should be like this:


=====================================================
Name     SS#        phone        address

name1    ss1        phone1       address1
name2    ss2        phone2       address2


                download button here
                ( Text Tab delimited *.txt
                 or CSV Comma delimited *.csv)

=====================================================

when this page is generated, we will NOT write those data to a file on the
server(we don't want create file to the server). so the download button here
is actually not downloading file from server.

Is there better way that user can download a file with the search result as
content ?

could it possible by setContentType with some special valid MIME type to
invoke excel or word window with the data showing there? if so, how to?

any one has experience with that?
and where I can get the documentation on the valid MIME types because I only
know couple MIME type such as text/html, text/plain, application/x-filler...


thanks a lot.

Helen








_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to