If you're using mod_jk with binary multipart/form-data, avoid AJP13, 
as it has a bug. Use AJP12.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 12, 2001 9:11 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Multipart/form-data
> 
> 
> 
> 
> I posted a similar message regarding the Oreilly upload package, 
> contacted the
> author of the package, Mr. Jason Hunter, and also did a lot of 
> experiment of my
> own. The conclusion is this is MAYBE a problem between mod_jk and 
> apache. Here
> are the results of my investigation:
>              somebody in this list claims 
> tomcat3.1+apache+mod_jserv works;
>              J. Hunter said tomcat alone works for him;
>              I tried tomcat3.2+mod_jk+apache1.3.14, failed for 
> binary files,
> worked only for text file;
>              I also tried different clients on different 
> environment, made sure
> this is not a client issue;
>              I ported my application to JRun, it works fine without
> modification;
> 
> Yanbin
> 
> 
> 
> |--------+---------------------------->
> |        |          Randy Layman      |
> |        |          <randy.layman@aswe|
> |        |          think.com>        |
> |        |                            |
> |        |          01/12/01 07:28 AM |
> |        |          Please respond to |
> |        |          tomcat-user       |
> |        |                            |
> |--------+---------------------------->
>   
> >-----------------------------------------------------------------
> ----------|
>   |                                                               
>             |
>   |       To:     "'[EMAIL PROTECTED]'"              
>             |
>   |       <[EMAIL PROTECTED]>                        
>             |
>   |       cc:     (bcc: Yanbin Ma/SYS/NYTIMES)                    
>             |
>   |       Subject:     RE: Multipart/form-data                    
>             |
>   
> >-----------------------------------------------------------------
> ----------|
> 
> 
> 
> 
> 
>            An Internal Server Error is caused by an uncaught 
> exception in your
> code.  Probably a NullPointerException, but it could be anything that
> extends java.lang.Runtime exception.
> 
>            Randy
> 
> -----Original Message-----
> From: Saikat Chatterjee [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 12, 2001 12:44 AM
> To: [EMAIL PROTECTED]
> Subject: Multipart/form-data
> 
> 
> Hello,
>         I have encountered a problem regarding 'multipart/form-data'
> encryption
> type in a html FORM.
> I have written a servlet through which an user uploads file. I am 
> expecting
> that the content type coming to the servlet will be of type
> 'multipart/form-data' . To handle this particular type of data i am using
> the
> MultipartRequest parser provided by Oreilly.
> But everytime i am running the servlet, i am getting a 'Internal Server
> Error'.
> Why this is so?Is it due to the fact that Tomcat cannot handle the
> 'multipart/form-data'?
>         I am using Apache 1.3.12 as webserver and Tomcat 3.2 as servlet
> container.
> 
> Any help will be highly appreciated.
> 
> Thanks,
> Saikat
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to