There is no built-in function either in the
Struts <logic:xxx> tags or in JSTL to check whether all the properties of a bean are null. You would have to write such a function yourself.
In the bean, just write a method isAllPropertiesNull() that returns true if all properties are null, and false if they aren't.
Then in your
jsp:
<if test="${myBean.allPropertiesNull}">