-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ilya,
On 11/11/11 9:33 AM, Ilya Kazakevich wrote: >>> A Servlet itself is always executed by Tomcat (if you have ever >>> seen the stacktraces printed by servlets). > > I understand that servlet runs in tomcat's thread-pool. > >>> It does not prevent Servlet form using proper logging >>> framework, or those old log() methods in Servlet API. > > But when my servlet throws exception -- tomcat catches it and > displays 500 error. > > Anyway: I found the error. It was my framework (struts), not tomcat > trouble. Tomcat itself logs any exception thrown by filter or > servlet. Struts 1 and 2 have different ways of handling exceptions. Both are quite flexible -- you just need to become familiar with the configuration and/or coding required. The struts mailing list is a great place to ask questions, but you certainly should read the documentation before you post. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk69koAACgkQ9CaO5/Lv0PCuLwCgvfTYmNmlvjXYMKSD2nys+SId kN4An0Qi87Sx5IhL6gNLV+KDMnBARA5u =dorn -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org