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
: "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
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
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
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
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
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/