Re: getInputStream problem

2008-03-18 Thread Mark Thomas
Ofer Kalisky wrote: I took test.jsp and put it in a new project (working with eclipse) and it does work. In my original project it doesn't. Can you point me to where the problem can be? AFAIK, I'm not using any filter (where can I see if I do?) WEB-INF/web.xml I have a listener in my web.x

Re: getInputStream problem

2008-03-18 Thread Ofer Kalisky
: "Ofer Kalisky" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, March 18, 2008 10:01 AM Subject: Re: getInputStream problem I took test.jsp and put it in a new project (working with eclipse) and it does work. In my original project it doesn't. Can yo

Re: getInputStream problem

2008-03-18 Thread Ofer Kalisky
ault there. the server.xml is the same for both projects, where can it be? What is a valve? Thanks. - Original Message - From: "Mark Thomas" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, March 16, 2008 8:49 PM Subject: Re: getInputStream problem

Re: getInputStream problem

2008-03-16 Thread Mark Thomas
Ofer Kalisky wrote: No answer yet, so I thought I'd send you this link: http://archives.java.sun.com/cgi-bin/wa?A2=ind0106&L=jsp-interest&F=&S=&P=49196 which talks about doing something of the sort, but notice, I am _not_ calling getParameter before the getInputStream, so why am I still not g

Re: getInputStream problem

2008-03-16 Thread Yuval Perlov
ng getParameter before the getInputStream, so why am I still not getting anything from it? - Original Message - From: Ofer Kalisky To: Tomcat Users List Sent: Sunday, March 16, 2008 11:53 AM Subject: getInputStream problem I have a JSP that looks like this: <% byte[] by

Re: getInputStream problem

2008-03-16 Thread Ofer Kalisky
etting anything from it? - Original Message - From: Ofer Kalisky To: Tomcat Users List Sent: Sunday, March 16, 2008 11:53 AM Subject: getInputStream problem I have a JSP that looks like this: <% byte[] bytes = new byte[100]; int n = request.get

getInputStream problem

2008-03-16 Thread Ofer Kalisky
I have a JSP that looks like this: <% byte[] bytes = new byte[100]; int n = request.getInputStream().read(bytes); System.out.println("Bytes len: " + n); %> and a python script that looks like this: import httplib h1 = httplib.HTTPConnection('localhost', 8080) h1.putrequest('POST', '/SendM9/