Re: java.lang.IllegalStateException

2006-09-06 Thread bill cao
I fixed it by adding a 'return' statement after pageCotext.forward(). Current process should terminate when forward statement is executed. I think this is a bug. - Original Message - From: "bill cao" <[EMAIL PROTECTED]> To: "Tomcat Users List" Se

java.lang.IllegalStateException

2006-09-06 Thread bill cao
I am using Apache Tomcat/5.0.28 Here is the code of traffic.jsp. it can forward to .html with no problem, but when forwarding to zzz.html, it throws java.lang.IllegalStateException: getOutputStream() has already been called for this response String serverName = request.getServerName(); if

Re: Can Tomcat expose original HTTP request?

2006-08-26 Thread bill cao
, 2006 1:04 AM Subject: Re: Can Tomcat expose original HTTP request? > Checkout the RequestDumperValve. It should help. > > bill cao wrote: >> Hi there, see if anyone knows how to do this. >> When a http request is sent to Tomcat, Tomcat manufactures a >> HT

Can Tomcat expose original HTTP request?

2006-08-24 Thread bill cao
Hi there, see if anyone knows how to do this. When a http request is sent to Tomcat, Tomcat manufactures a HTTPServletRequest object based on the raw http request. HTTPServletRequest has easy method to retrieve the request information, but I want to see the original raw request. Is there a way