I have a servlet that calls an http server to run a cgi. When I use DataOutputStream, the http server only gets the first character of the request. However, using PrintWriter (with a BufferedWriter and OutputStreamWriter) works fine. My problem is that I need to retrieve bytes from the socket rather than an array of characters. Am What am I doing wrong? ___________________________________________________________________________ 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
