How to check for Empty String/Null String in Struts-JSP page.
Struts Tag - does not works?
See below:
<c:if test='${not empty param.whatever}'>
...
</c:if>
<logic:empty param="<%= yourString %>">
or if the string you want to check is a property of a bean :
<logic:empty name="yourBean" property="yourBeanStringProperty">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With