On Thu, 14 Nov 2002, Wendy Cameron wrote:

> Date: Thu, 14 Nov 2002 10:16:43 +1000
> From: Wendy Cameron <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: RE: jsp:setProperty
>
> The third implementation is the one suggested by Kris Schneider,
>
> RequestUtils.populate(Object bean, HttpServletRequest request) which as
> far as I can see from source code, does its own thing.  (Doesnt call
> BeanUtils.populate())
>

Which CVS version of RequestUtils.java are you looking at (from the
$Revision$ line at the top)?

In both 1.0 and 1.1, it actually does call BeanUtils.populate(), down near
the bottom, to do the actual copying.  The extra complexity above that is
for handling file uploads and for grabbing the correct set of parameters
out of the request.

> Regards Wendy

Craig


>
> --
> To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to