You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Ivan (JIRA)" <ji...@apache.org> on 2010/05/14 02:53:45 UTC
[jira] Closed: (GERONIMO-5291) Can not get multipart data sent from
html form.
[ https://issues.apache.org/jira/browse/GERONIMO-5291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan closed GERONIMO-5291.
--------------------------
Fix Version/s: 3.0
Resolution: Invalid
Personally, I do not see a special reason that multipart must be configured before using getPart/getParts. But the spec seems to require this ...
> 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
> Assignee: Ivan
> Fix For: 3.0
>
>
> 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.