geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lu Jiang (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-5291) Can not get multipart data sent from html form.
Date Mon, 10 May 2010 06:45:48 GMT
Can not get multipart data sent from html form.
-----------------------------------------------

                 Key: GERONIMO-5291
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5291
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: deployment
    Affects Versions: 3.0
         Environment: OS:win xp sp2
Server:Geronimo 3.0 2010.05.06 build
JDK:1.6
            Reporter: Lu Jiang


I tried the file upload example.But it fails to output the content of the uploaded file.
After debugging this example,I found that when using getPart() of HttpServletRequest ,then
 we expect to get multipart data sent from html form.
Part p = ((HttpServletRequest) request).getPart("testFile");
But actually the object p is null,the multipart data is not caught.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message