Hi Can anybody give me a suggestion on this one. I am displaying data in table format from a JSP accessing DB2 (very simple). The user wants this data in an excel or a delimited file (which I can extract from the resultset). Now how do I create this delimited file, which can then be emailed to the user. Is there a way I can redirect the output from println or getWriter to a file. Any help is appreciated. Thanks Avi =========================================================================== 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