DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=36231>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36231 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Catalina |Servlet & JSP API ------- Additional Comments From [EMAIL PROTECTED] 2005-08-17 21:30 ------- Tomcat 5.5.9 requires 1.4 or later, but the servlet-api.jar it uses is expected to be able to run with 1.3, per the spec. Thus, isn't not feasible to fix servlet-api.jar itself. Tomcat could call initCause() as you suggest, but if someone wrote a webapp that depended on getCause() not returning null, the webapp would likely not be portable. This is a case where "unnecessarily harder" is preferred to help ensure the portability of webapps. Since I would guess that you likely don't care about portability, you could customize your Tomcat to fix this. Simpler may be just to write a utility class with a static method that accepts a ServletException and returns the cause from getRootCause() or getCause(), which ever is not null. Updating the component, since this is where the primary issue lies. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]