struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21321] New: - new methods: getFilePathName() and setInputStream()
Date Thu, 03 Jul 2003 18:05:51 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21321>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21321

new methods: getFilePathName() and setInputStream()

           Summary: new methods: getFilePathName() and setInputStream()
           Product: Struts
           Version: 1.1 Final
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: File Upload
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: aaron.tam@gartner.com


The file upload in struct is great.  It is very handy.

It will be nice to add two more methods:
getFilePathName():  Currently the getFileName() methods only get the file name,
I need to get the full path of the uploading file.  Since my user always use the
same name for the upload file, but putting them in different directory.

setInputStream() will be handy if I'm writing some test with the Action and
don't want to call the test from the WEB browser.  Or you can let me know how to
initialize the input stream in the FormFile.

Thanks!
Keep up the good work.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Mime
View raw message