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 context.xml
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 on
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 has
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
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
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
2011/8/27 Donald Jolley jolleyt...@gmail.com:
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
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
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
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
From: Konstantin Kolinko knst.koli...@gmail.com
To: Tomcat Users List users@tomcat.apache.org
Sent: Saturday, August 27, 2011 12:40 PM
Subject: Re: Exception Handling
2011/8/27 Donald Jolley jolleyt...@gmail.com:
For days I have been playing around with trying to develop a general-purpose
2011/8/28 Bob Garcia bobg.li...@gmail.com:
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
On Sat, Aug 27, 2011 at 2:35 PM, Konstantin Kolinko
knst.koli...@gmail.comwrote:
2011/8/28 Bob Garcia bobg.li...@gmail.com:
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
. . . . 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
- Original Message -
From: Donald Jolley jolleyt...@gmail.com
To: Tomcat Users List users@tomcat.apache.org; Mark Eggers
its_toas...@yahoo.com
Cc:
Sent: Saturday, August 27, 2011 6:09 PM
Subject: Re: Exception Handling
. . . . just my two cents.
I think that's a great idea.
15 matches
Mail list logo