You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Lixin Fan <Li...@mailcode.com> on 2004/02/02 21:43:11 UTC

replace "null" with empty string

Hi buddy,

Whenever the variable value is null, it displays as "null" in the page. I
like to replace it with the empty string. I know I can check each variable
in Action class (or property in JSP page) and replace it if it is null. Is
there any better way to do it so that I don't need check each variable?

Lixin

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