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 20523] - Model FileUpload model to mimic javax.servlet.Request
Date Sat, 07 Jun 2003 09:17:55 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=20523>.
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=20523

Model FileUpload model to mimic javax.servlet.Request





------- Additional Comments From wstranathan@hotmail.com  2003-06-07 09:17 -------
New patch is more compatible with ServletRequest:

- getParameterMap() now returns a Map such that the values are Object[], rather
than an ArrayList.  Although still not 100% compatible with
Servlet.getParameterMap() (that returns a String[]), it's closer - returning an
array instead of an ArrayList.

Another possibility is to not add FileItems to the Map - this would make the
methods 100% compatible, but would prevent people from being able to retrieve
FileItem's by getParameter().  A different solution to that MIGHT be to put
something of interest in a String value for FileItems, rather than a FileItem
(perhaps the locally stored filename, if it is on disk?  Or maybe the result of
getName()?)

---------------------------------------------------------------------
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