commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Cipriani <jason.cipri...@gmail.com>
Subject BeanUtils.populate with non-lowercase property names.
Date Wed, 25 Mar 2009 04:10:52 GMT
When using BeanUtils.populate() to populate a bean from
HttpServletRequest.getParameterMap(), is there a way to make it
recognize parameters with capital letters in their names, e.g. in the
query string "?SomeName=value&AnotherName=value"?

I've tried making a bean with both setSomename/getSomename and
setSomeName/getSomeName, but neither of those worked, and the property
was not set. What would the name of the setters/getters in the bean
have to be?

Thanks,
Jason

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message