[ 
https://issues.apache.org/struts/browse/WW-1683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Husted resolved WW-1683.
----------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.4
         Assignee: Ted Husted

Thanks Dariusz. 

Do you have an account on cwiki? If so,  we could mark it for editing, since 
you already have an ASF CLA on file. 

-Ted.


> Verify wiki about file uploading
> --------------------------------
>
>                 Key: WW-1683
>                 URL: https://issues.apache.org/struts/browse/WW-1683
>             Project: Struts 2
>          Issue Type: Improvement
>    Affects Versions: 2.0.4
>            Reporter: Dariusz Wojtas
>         Assigned To: Ted Husted
>            Priority: Minor
>             Fix For: 2.0.4
>
>
> Page
> http://struts.apache.org/2.x/docs/how-do-we-upload-files.html
> seems to contain incorrect values in section:
>  *  The Action may also provide the corresponding accessor methods.
>     public File getMyDoc()
>     public ContentType setMyDocContentType()
>     public String setMyDocFileName()
> Shouldn't all these 3 methods be getters?
> If we have a String setter  defined above these 3 samples
>     public void setMyDocContentType(String contentType)
> then how do we translate it in our action to accessor returning object 
> 'ContentType'?
> Do we create a get/set pair?

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

Reply via email to