请问如何用java表达式语言实现以下功能:
String str = "world";
String str2 = (str == null ?"":str);形式如下:
${(empty str)"":${str}};
但这个是错的,因为JSL是不能嵌套的,请问该如何写?