commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adamowski, Marcin" <>
Subject [HttpClient] HttpClient with JRun Webserver
Date Wed, 11 Aug 2004 12:24:24 GMT
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"));

Code from the jsp page

ServletInputStream s = request.getInputStream(); ois = new;

When I'm using Tomcat, everything is fine, but on JRun when I'm trying to create ObjectInputStream
I've got an exception.


Does onyone know what's wrong?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message