commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37659] New: - [FileUpload] FileItem enhancements
Date Mon, 28 Nov 2005 02:48:16 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37659>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37659

           Summary: [FileUpload] FileItem enhancements
           Product: Commons
           Version: Nightly Builds
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: File Upload
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: martinc@apache.org


>From Flavio Tordini, posted on Commons User. He didn't file an enhancement
request, so I'm doing it for him, since I believe these are useful suggestions.

hi all,
I'm using FileUpload in a project of mine (
http://gomba.sourceforge.net/ ). I end up using the FileItem interface
with the JSP EL. It's really nice because most FileItem properties
have javabean getter methods so you can do ${fileItem.fieldName}

There is only one glitch: the get() method which returns a byte array
does not follow the javabean naming so it is not available in the EL.
It would be cool to have something like getBytes().

Another suggestion is to add a getReader() method to return a Reader.

In the meantime I'll try to use a custom FileItem implementation but
it would be nice to have this changes in the FileItem interface.

A big THANK YOU to the FileUpload developers!

regards,
flavio

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message