You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/03/02 07:36:42 UTC

DO NOT REPLY [Bug 14759] - Not serializable FileItem

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=14759>.
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=14759

Not serializable FileItem

martinc@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX



------- Additional Comments From martinc@apache.org  2003-03-02 06:36 -------
I'm marking this "won't fix" for several reasons:

1) In the scenario you describe, you do not actually need to preserve FileItem 
instances in the session, you only need to preserve the relevant information 
from those instances.

2) If you prefer, you can provide your own FileItem implementation which 
handles the output stream however you like. You are not required to use the 
DefaultFileItem class.

3) A String is not a substitute for a ByteArrayOutputStream because the former 
consists of characters, whereas the latter consists of bytes. They are not the 
same thing at all.

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