cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Royal <pro...@managingpartners.com>
Subject Re: data goes in, data goes out (RT in disguise)
Date Thu, 29 Nov 2001 22:18:11 GMT
(i'm going to digest the rest of what you wrote later tonight)

On Thursday 29 November 2001 04:49 pm, you wrote:
> information that is not a string.  Case and point: file uploading.  You
> cannot get a file-handle via the Request parameters interface--you MUST do
> it through the request attributes part.  Problem is that not every servlet
> container implements request attributes properly.

If you use Request.get(), that returns an object, and a File object if it was 
an uploaded file, String for parameters, and Arrays for parameter arrays.

The Request.getParameter() as a String is very web-centric tho, expecting 
only string data on forms.
-pete

-- 
peter royal -> proyal@managingpartners.com

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message