-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

When a HTML-File contains

...<form method="post" enctype="multipart/form-data"
action="servlet"...>...
...<input type=file ...>...

and the user is really putting some existing file in the input-field,
the server throws an error and notices

"Premature end of script headers: servlet" (errors.log, apache 1.3.9)

and

"(EMERGENCY) ajp11: cannot scan servlet headers
 (ERROR) an error returned handling request via protocol "ajpv11""
(mod_jserv.log, jserv 1.0).

The error does not occur if the input field stays empty!

System:
WinNT 4.0 SP 5
Apache 1.3.9
Apache JServ 1.0
JDK 1.2
JSDK 2.0
Netscape 4.6.1

Any idea?

Detlev Beutner.


     Subject:
          multipart/form-data forms causing error
      Date:
          Wed, 22 Sep 1999 18:45:20 +0200
      From:
          Detlev Beutner <[EMAIL PROTECTED]>
 Organization:
          Automation Consulting Group GmbH
        To:
          [EMAIL PROTECTED]



When a HTML-File contains

...<form enctype="multipart/form-data" action="servlet"...>...<input
type=file ...>...

and the user is really putting some existing file in the input-field,
the server throws an error and notices

"Premature end of script headers: servlet" (errors.log, apache 1.3.9)

and

"(EMERGENCY) ajp11: cannot scan servlet headers
(ERROR) an error returned handling request via protocol "ajpv11""
(mod_jserv.log, jserv 1.0).

The error does not occur if the input field stays empty!

System:
WinNT 4.0 SP 5
Apache 1.3.9
Apache JServ 1.0
JDK 1.2
JSDK 2.0

Any idea? (Please also answere to the sender's mail! Thanks!)

Detlev Beutner.



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to