Hi, Mark
Thanks for your patient help. I have figured out the problem. It's
not relevant to Tomcat.
I tested my web application from NetBeans IDE with HTTP monitor enabled,
NetBeans put a wrapper on the Tomcat's response object. I think that wrapper
caused the problem.
Thanks
Best Regards
Ste
On 5/19/06, Mark Thomas <[EMAIL PROTECTED]> wrote:
The RequestDispatcher is created in this class:
http://svn.apache.org/repos/asf/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationContext.java
ApplicationDispatcher implements RequestDispatcher
http://svn.apache
Stephen Suen wrote:
> The call to sendError should be ignored, then why a 404 error page returns?
> I think maybe Tomcat overrides this behaviour or does some trick elsewhere.
> Can you give me more help?
The RequestDispatcher is created in this class:
http://svn.apache.org/repos/asf/tomcat/conta
On 5/19/06, Mark Thomas <[EMAIL PROTECTED]> wrote:Stephen Suen wrote:
Can any body tell me where I can find such source code, and give me some
basic explanation on it.
http://svn.apache.org/repos
/asf/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/servlets/DefaultServlet.jav
Stephen Suen wrote:
> Can any body tell me where I can find such source code, and give me some
> basic explanation on it.
http://svn.apache.org/repos/asf/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/servlets/DefaultServlet.java
Search for SC_NOT_FOUND
Mark
---
Hi,
I'm using RequestDispatcher to dynamically include content. When the target
resource does not exist, a 404 error page returns from Tomcat. Acording to
the API, the included servlet cannot change the response status code or set
headers, and any attempt to make a change is ignored.
I did a har