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 [EMAIL PROTECTED]  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to