Re: [PATCH] JspParseEventListener.java - Catch Throwable and throw new Exception

2000-11-26 Thread Pierre Delisle
Rob Saccoccio wrote: Would it be possible to change the generated _jspService() method to catch Throwable instead of Exception? JSP 1.2 is taking this direction (excerpt and patch below). Just committed the fix in tomcat-4.0 (since this is JSP1.2). +

cvs commit: jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/runtime PageContextImpl.java

2000-11-26 Thread pierred
pierred 00/11/26 08:13:57 Modified:jasper/src/share/org/apache/jasper/runtime PageContextImpl.java Log: PageContext has two variations of handlePageException(). Have the one with the Exception argument simply calls the one with the Throwable argument to

ENCTYPE=multipart/form-data

2000-11-26 Thread Falcon cheetah
I am trying to load a file to my server, in order to use it as an attachment for a JavaMail webmail. I am using an example, which works fine by itself till I start to use it in my application. I am using a form that specifies the encryption type to ENCTYPE="multipart/form-data" which seems like

cvs commit: jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler JspParseEventListener.java

2000-11-26 Thread pierred
pierred 00/11/26 08:17:35 Modified:jasper/src/share/org/apache/jasper/compiler JspParseEventListener.java Log: As per JSP1.2, generated servlet now catches Throwable instead of Exception, and calls PageContext.handlePageException(Throwable). Submitted

cvs commit: jakarta-tomcat-4.0/connectors/src/webapplib wa.c wa.h wa_connection.c wa_connection.h wa_host.c wa_host.h wa_provider.c wa_provider.h wa_provider_info.c wa_request.c wa_request.h

2000-11-26 Thread pier
pier00/11/26 19:49:23 Modified:connectors/src/apache-1.3 mod_webapp.c connectors/src/webapplib wa.c wa.h wa_connection.c wa_connection.h wa_host.c wa_host.h wa_provider.c wa_provider.h wa_provider_info.c wa_request.c

cvs commit: jakarta-tomcat-4.0/service/src/native jsvc.h jsvc_help.c jsvc_parse.c jsvc_service.c jsvc_unix.c

2000-11-26 Thread pier
pier00/11/26 19:57:59 Modified:service/src/native jsvc.h jsvc_help.c jsvc_parse.c jsvc_service.c jsvc_unix.c Log: Prettier sources, added legal stuff. Revision ChangesPath 1.2 +4 -0 jakarta-tomcat-4.0/service/src/native/jsvc.h