- Original Message -
> From: Donald Jolley
> To: Tomcat Users List ; Mark Eggers
>
> Cc:
> Sent: Saturday, August 27, 2011 6:09 PM
> Subject: Re: Exception Handling
>
>> . . . . just my two cents.
>
> I think that's a great idea. There is no substitute for having a good book.
>
>
> . . . . just my two cents.
I think that's a great idea. There is no substitute for having a good book.
By any chance, is the full title of the book you are referencing, "Head
First Servlets and JSP: Passing the Sun Certified Web Component Developer
Exam"? Then, there is another one with the s
On Sat, Aug 27, 2011 at 2:35 PM, Konstantin Kolinko
wrote:
> 2011/8/28 Bob Garcia :
> > I have a webapp at webapps/demo and a servlet mapped to demo/foo. Tomcat
> is
> > also serving some static content from the demo directory, including image
> > files in demo/imgs. I have instrumented by event
2011/8/28 Bob Garcia :
> Apologies if this is a known issue or a simple config error on my part. I
> have not been able to find anything similar in my searches.
>
> I am using tomcat-7.0.20 configured with
> protocol=org.apache.coyote.http11.Http11NioProtocol, and using OpenJDK
> 1.6.0_22 on Fedora
>From: Konstantin Kolinko
>To: Tomcat Users List
>Sent: Saturday, August 27, 2011 12:40 PM
>Subject: Re: Exception Handling
>
>2011/8/27 Donald Jolley :
>> For days I have been playing around with trying to develop a general-purpose
>> forwarding mechanism that I could use to forward to an errors
Apologies if this is a known issue or a simple config error on my part. I
have not been able to find anything similar in my searches.
I am using tomcat-7.0.20 configured with
protocol=org.apache.coyote.http11.Http11NioProtocol, and using OpenJDK
1.6.0_22 on Fedora 15.
I have a webapp at webapps/d
> What I do is build the response in a string instead of writing it to the
buffer.
Interesting. The string serves as a pseudo buffer which expands in length
as required. Very cool. To use this approach one would have to be dealing
directly with a servlet, right? IOW, this approach would not be
On 1:59 PM, Donald Jolley wrote:
JSPs should be used for output with all processing (and, hopefully,
anything that can fail) having already been completed by the time the
JSP runs.
That's a REALLY good point. The JSP can be thought of as simply bieing a
view with all (or most) of the heavy lif
2011/8/27 Donald Jolley :
> For days I have been playing around with trying to develop a general-purpose
> forwarding mechanism that I could use to forward to an errors page upon the
> occurrence of an exception. It has just been revealed to me that this
> approach is not going to work because onc
On 8/27/2011 3:10 PM, Donald Jolley wrote:
For days I have been playing around with trying to develop a general-purpose
forwarding mechanism that I could use to forward to an errors page upon the
occurrence of an exception. It has just been revealed to me that this
approach is not going to work
For days I have been playing around with trying to develop a general-purpose
forwarding mechanism that I could use to forward to an errors page upon the
occurrence of an exception. It has just been revealed to me that this
approach is not going to work because once a response is committed it is no
> You need to read the Servlet spec.
Great suggestion. I didn't even know that there was a Servlet spec! Very
revealing. Your further response summarizes very well the essence of what
the Spec has to say on the subject.
My intention was to try to come up with a general-purpose forwarding
mecha
2011/8/27 Mark Thomas :
> On 27/08/2011 17:46, Donald Jolley wrote:
>> I have been playing around with forwarding. I have a variety of test
>> samples and they all work. However, after trying to deploy a forwarding
>> mechanism within the contest of a larger page I have encountered the error,
>>
On 27/08/2011 17:46, Donald Jolley wrote:
> I have been playing around with forwarding. I have a variety of test
> samples and they all work. However, after trying to deploy a forwarding
> mechanism within the contest of a larger page I have encountered the error,
> "Cannot forward after response
I have been playing around with forwarding. I have a variety of test
samples and they all work. However, after trying to deploy a forwarding
mechanism within the contest of a larger page I have encountered the error,
"Cannot forward after response has been committed". I have done some
googling o
On 26/08/2011 19:21, Johannes Ernst wrote:
>> The documentation has to be updated. Please file an issue.
>
> https://issues.apache.org/bugzilla/show_bug.cgi?id=51727
>
> Personally I feel the documentation is correct and the code is wrong. What
> point is there to have a path parameter in contex
16 matches
Mail list logo