How do I use Tomcat's error-page and Apache's ErrorDocument directives together?

Location: jguru.com/faq/view.jsp?EID=492774 Created: Sep 7, 2001 Modified: 2002-04-18 07:27:16.127 Author: Alessandro A. Garbagnati (http://www.jguru.com/guru/viewbio.jsp?EID=32727) Question originally posed by Elodie TASIA (http://www.jguru.com/guru/viewbio.jsp?EID=434391 I suggest you to have both Apache and Tomcat know how to hande "their own" error documents. The reason for this is because you could have a situation where an error is generated by Tomcat and cases when a same error is generated by Apache.

A simple example is with the Page Not Found (404) error: In a normal system you have Tomcat handling only servlets (usually /servlets/*) and jsp pages (*. Jsp). Then when Apache receives a request that matches one of those directive, it will pass it to Tomcat.

If a servlet or a jsp file don't exists, then the 404 error is generated by Tomcat. At the same time, if the request contains page that is not a jsp or a servlet (maybe a typo: "index. Jps"), then the 404 error is ... more.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions