if there is no data in my table it will show "Result not found" instead of a blank table
<c:choose..
does what exactly you looking for:
<c:choose>
<c:when test="${not empty searchTextResult}">
//table goes here
</c:when>
<c:otherwise>Result not found</c:otherwise>
</c:choose>