struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mukarram Baig (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (WW-3664) FileUpload interceptor not recursively creating directories if one doesn't already exist
Date Thu, 21 Jul 2011 04:20:58 GMT

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

Mukarram Baig updated WW-3664:
------------------------------

    Attachment: WW-3364.patch

Change to Dispatcher.java that will create the directory tree

> FileUpload interceptor not recursively creating directories if one doesn't already exist
> ----------------------------------------------------------------------------------------
>
>                 Key: WW-3664
>                 URL: https://issues.apache.org/jira/browse/WW-3664
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Interceptors
>    Affects Versions: 2.2.1
>         Environment: Solaris 
>            Reporter: Mukarram Baig
>            Priority: Trivial
>         Attachments: WW-3364.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The current implementation of the file upload interceptor, if the multipart save directory
location specified does not already exist, we try to create it but not recursively. Is there
a reason for not doing it? More specifically, we are calling multipartSaveDir.mkdir() rather
than multipartSaveDir.mkdirs(). I can attach a patch if that helps...

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message