Dear All This was asked recently. The PrintWriter is the best one to use for complex reasons - basically it has much better performance. Nick. -----Original Message----- From: Anshul Dutta [mailto:[EMAIL PROTECTED]] Sent: 30 June 2000 07:37 To: [EMAIL PROTECTED] Subject: PrintWriter vs ServletOutputStream Hi all, As we know these are the streams that are used to send data back to the client and are created from ServletResponse class. So my question is.. Which one is better to use among the two if the data to be sent is text. ___________________________________________________________________________ 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 *************************************************************** The contents of this Email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom it is addressed. The views stated herein do not necessarily represent the view of the company. If you are not the intended recipient of this Email you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. If you have received this mail in error please Email the sender. *************************************************************** ___________________________________________________________________________ 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
