You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Joakim Olsson <ar...@lingonpaj.com> on 2004/11/04 23:03:46 UTC

Strange problem with null-value

Hi all,

I have a strange problem that I just stumbled across that I don't really
understand.

I populate a bean with information from the database with iBatis, I then
use BeanUtils.copyProperties to get the information to the action form
(Niall Pembertons LazyValidatorForm) and then forward to the JSP.

If the information is presented in the JSP with c:out, null-values are
presented as nothing as expected. If the information is presented with
bean:write or html:text, null-values are presented as the text
java.lang.Object@88a588 for example.

Does anyone have a clue on what might cause this?

Best regards,
Joakim



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