You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Garrett Smith <dh...@gmail.com> on 2008/07/15 18:39:28 UTC
"Stream ended unexpectedly" - simple testcase
Can't get my multipart/form-data processed. Error: "Stream ended
unexpectedly".
The post body is sent over XMLHttpRequest. (the submission works fine
if sent via "normal" form submission). There seems to be a problem
with the request. Bad headers, or content-length incorrect? I can't
spot the error.
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:
515)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
408) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
320) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.jspinsider.jspkit.gzip.GZIPFilter.doFilter(Unknown Source)
</pre></p><p><b>root cause</b> <pre>javax.servlet.ServletException:
org.apache.commons.fileupload.FileUploadException
: Processing of multipart/form-data request failed.
Stream ended unexpectedly
^^^^^^^^^^^^^^^^^^^^^^^^^^^
page /ape/release/example/form/process.jsp at line 10
7: // Create a new file upload handler
8: ServletFileUpload upload = new ServletFileUpload(factory);
9:
10: List<FileItem> items = upload.parseRequest(request);
11: response.setContentType("text/plain");
12: out.write(items.toString());
13:
Here is the first request, via XMLHttpRequest form submission:
----------------------------------------------------------
http://localhost/ape/release/example/form/process.jsp
POST /ape/release/example/form/process.jsp HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:
1.9) Gecko/2008061004 Firefox/3.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/
*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Content-Type: multipart/form-data; charset=UTF-8;
boundary=DATA1215979532633
Referer: http://localhost/ape/release/example/form/Form.html
Content-Length: 91
Cookie: JSESSIONID=242B477B4C9455A201CF1BF7D5CFCE16
Pragma: no-cache
Cache-Control: no-cache
--DATA1215979532633
Content-Disposition: form-data; name="name";
a
--DATA1215979532633--
HTTP/1.x 500 Internal Server Error
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=utf-8
Content-Length: 3840
Date: Sun, 13 Jul 2008 20:05:32 GMT
Connection: close
----------------------------------------------------------
Or is it problem with the ServletFileUpload parser?
?
Garrett
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org
Re: "Stream ended unexpectedly" - simple testcase
Posted by Garrett Smith <dh...@gmail.com>.
On Sat, Jul 19, 2008 at 6:48 AM, Aaron Freeman <aa...@sendthisfile.com> wrote:
> I think you also need two newlines after the Content-Disposition. Try:
>
That did it.
http://tools.ietf.org/html/rfc2046
..the initial CRLF is considered to be attached
to the boundary...
...The body must then contain
one or more body parts, each preceded by a
boundary delimiter line, and the last one followed
by a closing boundary delimiter line. After its
boundary delimiter line, each body part then
consists of a header area, a blank line, and a body area...
So there should be a CRLF after content-disposition and one before the
boundary. That makes two CRLF.
And now I can serialize and send a form over XHR.
Garrett
> -a
>
>> -----Original Message-----
>> From: Garrett Smith [mailto:dhtmlkitchen@gmail.com]
>> Sent: Thursday, July 17, 2008 11:24 AM
>> To: Commons Users List
>> Subject: Re: "Stream ended unexpectedly" - simple testcase
>>
>> On Thu, Jul 17, 2008 at 7:00 AM, Aaron Freeman
>> <aa...@sendthisfile.com> wrote:
>> > Shouldn't there be a newline after the content ("a")? In otherwords
>> > shouldn't --DATA1215979532633-- be on its own line?
>> >
>>
>> I think you're right.
>>
>> req.send('--DATA1215979532633\r\n'
>> +'Content-Disposition: form-data; name="name";'
>> +'\r\na\r\n'
>> +'--DATA1215979532633--');
>>
>>
>> But I still get the error: "Stream ended unexpectedly."
>>
>> Full source code:
>> ============================================
>> <!DOCTYPE HTML>
>> <html lang="en">
>> <head>
>> <title>Form Serialize</title>
>> </head>
>> <body>
>> <form method="post"
>> enctype="multipart/form-data"
>> id='form' action="process.jsp">
>> <input type="text" name="name" value="a"/>
>> <button type="button"
>> onclick="sendXHR(event);return false;">Send</button> </form>
>>
>> <pre id="result"></pre>
>>
>> <script>
>> function sendXHR(e) {try{
>> var req = new XMLHttpRequest();
>> req.oreadystatechange = showData;
>> req.open("post", "process.jsp", true);
>> req.setRequestHeader('Content-Type',
>> "multipart/form-data; boundary=DATA1215979532633");
>> req.send('--DATA1215979532633\r\n'
>> +'Content-Disposition: form-data; name="name";'
>> +'\r\na\r\n'
>> +'--DATA1215979532633--');
>> }catch(ex){alert(ex);}
>> }
>>
>>
>> function showData() {
>> var data = this.responseText;
>> document.getElementById('result').innerHTML = data; }
>> </script> </body> </html> ============================================
>>
>> Garrett
>> > -a
>> >
>> >>
>> [snip "-----Original Message-----"]
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
>> For additional commands, e-mail: user-help@commons.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org
RE: "Stream ended unexpectedly" - simple testcase
Posted by Aaron Freeman <aa...@sendthisfile.com>.
I think you also need two newlines after the Content-Disposition. Try:
req.send('--DATA1215979532633\r\n'
+'Content-Disposition: form-data; name="name";\r\n\r\n'
+'a\r\n'
+'--DATA1215979532633--');
-a
> -----Original Message-----
> From: Garrett Smith [mailto:dhtmlkitchen@gmail.com]
> Sent: Thursday, July 17, 2008 11:24 AM
> To: Commons Users List
> Subject: Re: "Stream ended unexpectedly" - simple testcase
>
> On Thu, Jul 17, 2008 at 7:00 AM, Aaron Freeman
> <aa...@sendthisfile.com> wrote:
> > Shouldn't there be a newline after the content ("a")? In otherwords
> > shouldn't --DATA1215979532633-- be on its own line?
> >
>
> I think you're right.
>
> req.send('--DATA1215979532633\r\n'
> +'Content-Disposition: form-data; name="name";'
> +'\r\na\r\n'
> +'--DATA1215979532633--');
>
>
> But I still get the error: "Stream ended unexpectedly."
>
> Full source code:
> ============================================
> <!DOCTYPE HTML>
> <html lang="en">
> <head>
> <title>Form Serialize</title>
> </head>
> <body>
> <form method="post"
> enctype="multipart/form-data"
> id='form' action="process.jsp">
> <input type="text" name="name" value="a"/>
> <button type="button"
> onclick="sendXHR(event);return false;">Send</button> </form>
>
> <pre id="result"></pre>
>
> <script>
> function sendXHR(e) {try{
> var req = new XMLHttpRequest();
> req.oreadystatechange = showData;
> req.open("post", "process.jsp", true);
> req.setRequestHeader('Content-Type',
> "multipart/form-data; boundary=DATA1215979532633");
> req.send('--DATA1215979532633\r\n'
> +'Content-Disposition: form-data; name="name";'
> +'\r\na\r\n'
> +'--DATA1215979532633--');
> }catch(ex){alert(ex);}
> }
>
>
> function showData() {
> var data = this.responseText;
> document.getElementById('result').innerHTML = data; }
> </script> </body> </html> ============================================
>
> Garrett
> > -a
> >
> >>
> [snip "-----Original Message-----"]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org
Re: "Stream ended unexpectedly" - simple testcase
Posted by Garrett Smith <dh...@gmail.com>.
On Thu, Jul 17, 2008 at 7:00 AM, Aaron Freeman <aa...@sendthisfile.com> wrote:
> Shouldn't there be a newline after the content ("a")? In otherwords
> shouldn't --DATA1215979532633-- be on its own line?
>
I think you're right.
req.send('--DATA1215979532633\r\n'
+'Content-Disposition: form-data; name="name";'
+'\r\na\r\n'
+'--DATA1215979532633--');
But I still get the error: "Stream ended unexpectedly."
Full source code:
============================================
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>Form Serialize</title>
</head>
<body>
<form method="post"
enctype="multipart/form-data"
id='form' action="process.jsp">
<input type="text" name="name" value="a"/>
<button type="button"
onclick="sendXHR(event);return false;">Send</button>
</form>
<pre id="result"></pre>
<script>
function sendXHR(e) {try{
var req = new XMLHttpRequest();
req.oreadystatechange = showData;
req.open("post", "process.jsp", true);
req.setRequestHeader('Content-Type',
"multipart/form-data; boundary=DATA1215979532633");
req.send('--DATA1215979532633\r\n'
+'Content-Disposition: form-data; name="name";'
+'\r\na\r\n'
+'--DATA1215979532633--');
}catch(ex){alert(ex);}
}
function showData() {
var data = this.responseText;
document.getElementById('result').innerHTML = data;
}
</script>
</body>
</html>
============================================
Garrett
> -a
>
>>
[snip "-----Original Message-----"]
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org
RE: "Stream ended unexpectedly" - simple testcase
Posted by Aaron Freeman <aa...@sendthisfile.com>.
Shouldn't there be a newline after the content ("a")? In otherwords
shouldn't --DATA1215979532633-- be on its own line?
-a
> -----Original Message-----
> From: Garrett Smith [mailto:dhtmlkitchen@gmail.com]
> Sent: Tuesday, July 15, 2008 7:14 PM
> To: Commons Users List
> Subject: Re: "Stream ended unexpectedly" - simple testcase
>
> On Tue, Jul 15, 2008 at 11:05 AM, Martin Cooper
> <ma...@apache.org> wrote:
> > On Tue, Jul 15, 2008 at 10:50 AM, Garrett Smith
> > <dh...@gmail.com>
> > wrote:
> >
> >> On Tue, Jul 15, 2008 at 10:26 AM, Mark Thomas
> <ma...@apache.org> wrote:
> >> > Garrett Smith wrote:
> >> >>
> >> >> On Tue, Jul 15, 2008 at 9:42 AM, Mark Thomas
> <ma...@apache.org> wrote:
> >> >>>
> >> >>> Garrett Smith wrote:
>
>
> >> I'm sending:
> >>
> >> req.send('--DATA1215979532633\n'
> >> +'Content-Disposition: form-data; name="name";'
> >> +'\n\na'
> >> +'--DATA1215979532633--');
> >>
> >
> > In the above, do you really mean '\n'? It needs to be '\r\n'.
> >
>
> The code above is (a snip of) actual code that I saved to a
> file, Form2.html (my prev post has the full code), and ran in
> Firefox 3. I also posted a file process.jsp, and the actual result.
>
> Where do you propose I use \r\n? I've tried replacing every
> occurence of \n with \r\n and got the same result.
>
> Garrett
>
> > --
> > Martin Cooper
> >
> [snip prev msg]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org
Re: "Stream ended unexpectedly" - simple testcase
Posted by Garrett Smith <dh...@gmail.com>.
On Tue, Jul 15, 2008 at 11:05 AM, Martin Cooper <ma...@apache.org> wrote:
> On Tue, Jul 15, 2008 at 10:50 AM, Garrett Smith <dh...@gmail.com>
> wrote:
>
>> On Tue, Jul 15, 2008 at 10:26 AM, Mark Thomas <ma...@apache.org> wrote:
>> > Garrett Smith wrote:
>> >>
>> >> On Tue, Jul 15, 2008 at 9:42 AM, Mark Thomas <ma...@apache.org> wrote:
>> >>>
>> >>> Garrett Smith wrote:
>> I'm sending:
>>
>> req.send('--DATA1215979532633\n'
>> +'Content-Disposition: form-data; name="name";'
>> +'\n\na'
>> +'--DATA1215979532633--');
>>
>
> In the above, do you really mean '\n'? It needs to be '\r\n'.
>
The code above is (a snip of) actual code that I saved to a file,
Form2.html (my prev post has the full code), and ran in Firefox 3. I
also posted a file process.jsp, and the actual result.
Where do you propose I use \r\n? I've tried replacing every occurence
of \n with \r\n and got the same result.
Garrett
> --
> Martin Cooper
>
[snip prev msg]
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org
Re: "Stream ended unexpectedly" - simple testcase
Posted by Martin Cooper <ma...@apache.org>.
On Tue, Jul 15, 2008 at 10:50 AM, Garrett Smith <dh...@gmail.com>
wrote:
> On Tue, Jul 15, 2008 at 10:26 AM, Mark Thomas <ma...@apache.org> wrote:
> > Garrett Smith wrote:
> >>
> >> On Tue, Jul 15, 2008 at 9:42 AM, Mark Thomas <ma...@apache.org> wrote:
> >>>
> >>> Garrett Smith wrote:
> >>>>
> >>>> Can't get my multipart/form-data processed. Error: "Stream ended
> >>>> unexpectedly".
> >>>
> >>> Tomcat version?
> >>>
> >>
> >> Apache Tomcat Version 6.0.10
> >>
> >> The post request works fine via "normal" submit, just not with XHR.
> >
> > You might have been bitten by
> > https://issues.apache.org/bugzilla/show_bug.cgi?id=44494
> >
>
> In the report, request.getHeader() ERRORS Over 8k.
>
> I'm sending:
>
> req.send('--DATA1215979532633\n'
> +'Content-Disposition: form-data; name="name";'
> +'\n\na'
> +'--DATA1215979532633--');
>
In the above, do you really mean '\n'? It needs to be '\r\n'.
--
Martin Cooper
>
>
> Total: 90 bytes
>
> (And it still works fine over "normal" form submission.)
>
> But with XHR, the result is: "Stream ended unexpectedly"
>
> Something with parsing. Maybe the headers?
> Content-Type: multipart/form-data; charset=UTF-8;
> boundary=DATA1215979532633
>
> ?
>
> Garrett
>
> > The 6.0.17 RC should have this fixed.
> >
> > Mark
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> > For additional commands, e-mail: user-help@commons.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>
Re: "Stream ended unexpectedly" - simple testcase
Posted by Garrett Smith <dh...@gmail.com>.
On Tue, Jul 15, 2008 at 10:26 AM, Mark Thomas <ma...@apache.org> wrote:
> Garrett Smith wrote:
>>
>> On Tue, Jul 15, 2008 at 9:42 AM, Mark Thomas <ma...@apache.org> wrote:
>>>
>>> Garrett Smith wrote:
>>>>
>>>> Can't get my multipart/form-data processed. Error: "Stream ended
>>>> unexpectedly".
>>>
>>> Tomcat version?
>>>
>>
>> Apache Tomcat Version 6.0.10
>>
>> The post request works fine via "normal" submit, just not with XHR.
>
> You might have been bitten by
> https://issues.apache.org/bugzilla/show_bug.cgi?id=44494
>
In the report, request.getHeader() ERRORS Over 8k.
I'm sending:
req.send('--DATA1215979532633\n'
+'Content-Disposition: form-data; name="name";'
+'\n\na'
+'--DATA1215979532633--');
Total: 90 bytes
(And it still works fine over "normal" form submission.)
But with XHR, the result is: "Stream ended unexpectedly"
Something with parsing. Maybe the headers?
Content-Type: multipart/form-data; charset=UTF-8; boundary=DATA1215979532633
?
Garrett
> The 6.0.17 RC should have this fixed.
>
> Mark
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org
Re: "Stream ended unexpectedly" - simple testcase
Posted by Mark Thomas <ma...@apache.org>.
Garrett Smith wrote:
> On Tue, Jul 15, 2008 at 9:42 AM, Mark Thomas <ma...@apache.org> wrote:
>> Garrett Smith wrote:
>>> Can't get my multipart/form-data processed. Error: "Stream ended
>>> unexpectedly".
>> Tomcat version?
>>
>
> Apache Tomcat Version 6.0.10
>
> The post request works fine via "normal" submit, just not with XHR.
You might have been bitten by
https://issues.apache.org/bugzilla/show_bug.cgi?id=44494
The 6.0.17 RC should have this fixed.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org
Re: "Stream ended unexpectedly" - simple testcase
Posted by Garrett Smith <dh...@gmail.com>.
On Tue, Jul 15, 2008 at 9:42 AM, Mark Thomas <ma...@apache.org> wrote:
> Garrett Smith wrote:
>>
>> Can't get my multipart/form-data processed. Error: "Stream ended
>> unexpectedly".
>
> Tomcat version?
>
Apache Tomcat Version 6.0.10
The post request works fine via "normal" submit, just not with XHR.
Try submitting the form:
1) normal submit - by pressing "enter" when the text input has focus.
2) XHR submit - by clicking the "send" button
Results:
1) success! (view items.toString())
2) Error in Firebug
2 files: form2.html, process.jsp
form2.html
========================================================
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>Form Serialize</title>
</head>
<body>
<form method="post"
enctype="multipart/form-data"
id='form' action="process.jsp">
<input type="text" name="name" value="a"/>
<button type="button"
onclick="sendXHR(event);return false;">Send</button>
</form>
<pre id="result"></pre>
<script>
function sendXHR(e) {
var req = new XMLHttpRequest();
req.oreadystatechange = showData;
req.open("post", "process.jsp", true);
req.setRequestHeader('Content-Type',
"multipart/form-data; boundary=DATA1215979532633");
req.send('--DATA1215979532633\n'
+'Content-Disposition: form-data; name="name";'
+'\n\na'
+'--DATA1215979532633--');
}
function showData() {
var data = this.responseText;
document.getElementById('result').innerHTML = data;
}
</script>
</body>
</html>
========================================================
process.jsp
========================================================
<%@ page import="org.apache.commons.io.*,
org.apache.commons.fileupload.*, java.io.*, java.util.*,
org.apache.commons.fileupload.disk.DiskFileItemFactory,
org.apache.commons.fileupload.servlet.*" %>
<%
// Create a factory for disk-based file items
FileItemFactory factory = new DiskFileItemFactory();
// Create a new file upload handler
ServletFileUpload upload = new ServletFileUpload(factory);
List<FileItem> items = upload.parseRequest(request);
response.setContentType("text/plain");
out.write(items.toString());
%>
========================================================
Garrett
> Mark
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org
Re: "Stream ended unexpectedly" - simple testcase
Posted by Mark Thomas <ma...@apache.org>.
Garrett Smith wrote:
> Can't get my multipart/form-data processed. Error: "Stream ended
> unexpectedly".
Tomcat version?
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org
Re: "Stream ended unexpectedly" - simple testcase
Posted by Stelios Philippou <st...@gmail.com>.
i believe you need to create a filter your self, edit it a little in order
to get the data you require.
Then the Request will be working .....
On Tue, Jul 15, 2008 at 5:39 PM, Garrett Smith <dh...@gmail.com>
wrote:
> Can't get my multipart/form-data processed. Error: "Stream ended
> unexpectedly".
>
> The post body is sent over XMLHttpRequest. (the submission works fine
> if sent via "normal" form submission). There seems to be a problem
> with the request. Bad headers, or content-length incorrect? I can't
> spot the error.
>
> Stacktrace:
>
>
> org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:
> 515)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
> 408)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
> 320) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> com.jspinsider.jspkit.gzip.GZIPFilter.doFilter(Unknown Source)
> </pre></p><p><b>root cause</b> <pre>javax.servlet.ServletException:
> org.apache.commons.fileupload.FileUploadException
>
> : Processing of multipart/form-data request failed.
> Stream ended unexpectedly
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> page /ape/release/example/form/process.jsp at line 10
> 7: // Create a new file upload handler
> 8: ServletFileUpload upload = new ServletFileUpload(factory);
> 9:
> 10: List<FileItem> items = upload.parseRequest(request);
> 11: response.setContentType("text/plain");
> 12: out.write(items.toString());
> 13:
>
>
> Here is the first request, via XMLHttpRequest form submission:
> ----------------------------------------------------------
> http://localhost/ape/release/example/form/process.jsp
>
> POST /ape/release/example/form/process.jsp HTTP/1.1
> Host: localhost
> User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:
> 1.9) Gecko/2008061004 Firefox/3.0
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/
> *;q=0.8
> Accept-Language: en-us,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Connection: keep-alive
> Content-Type: multipart/form-data; charset=UTF-8;
> boundary=DATA1215979532633
> Referer: http://localhost/ape/release/example/form/Form.html
> Content-Length: 91
> Cookie: JSESSIONID=242B477B4C9455A201CF1BF7D5CFCE16
> Pragma: no-cache
> Cache-Control: no-cache
>
> --DATA1215979532633
> Content-Disposition: form-data; name="name";
>
> a
> --DATA1215979532633--
>
>
> HTTP/1.x 500 Internal Server Error
> Server: Apache-Coyote/1.1
> Content-Type: text/html;charset=utf-8
> Content-Length: 3840
> Date: Sun, 13 Jul 2008 20:05:32 GMT
> Connection: close
>
> ----------------------------------------------------------
>
> Or is it problem with the ServletFileUpload parser?
> ?
>
> Garrett
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>