Does anyone used HttpClient with JRun Webserver? I'm trying to do something like that
Code from the client String url = "http://localhost:8100/test.jsp"; HttpClient client = new HttpClient(); PostMethod post = new PostMethod(url); post.setRequestEntity(new StringRequestEntity("sample String")); client.executeMethod(post); Code from the jsp page ServletInputStream s = request.getInputStream(); java.io.ObjectInputStream ois = new java.io.ObjectInputStream(s); When I'm using Tomcat, everything is fine, but on JRun when I'm trying to create ObjectInputStream I've got an exception. error java.io.EOFExceptionat java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2165) ... Does onyone know what's wrong? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
