struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: jsp:setProperty
Date Wed, 13 Nov 2002 02:30:10 GMT


On Wed, 13 Nov 2002, Wendy Cameron wrote:

> Date: Wed, 13 Nov 2002 12:09:01 +1000
> From: Wendy Cameron <cameronw@usq.edu.au>
> Reply-To: Struts Users Mailing List <struts-user@jakarta.apache.org>
> To: "Struts Users Mailing List (E-mail)" <struts-user@jakarta.apache.org>
> Subject: jsp:setProperty
>
> Hello All,
>
> This is probably not the best forum, but I was wondering if anyone new how to, do the
equivalent of
> jsp:setProperty "*" in a servlet
>
> Or is this not possible?
>

Actually it is, and it's the basic reason that the BeanUtils classes were
created in the first place.  See the BeanUtils.copyProperties() and
BeanUtils.populate() methods -- Struts actually uses the latter when it
populates your form bean properties for you.  Javadocs are at:

  http://jakarta.apache.org/commons/beanutils/api/

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


Mime
View raw message