Hi,
I am currently cleaning up some messy JSP-code, introducing JSTL and
Struts taglibs.
We have a lot of code that looks like this:
where we get at text from a bean or request attribute and output it on the screen but use a default value if the provided attibute is null.
Our current
string formater looks like this:
Is there a way to use the format or formatKey-part of <bean:write>-tag to output a default value if null?
I've created formatKeys for the decimal, data and other formated data, but I can't get the normal String-format to work.