I have JSP's which displays around hundred amount and percentage fields (which could be null or empty). I have used JSTL fmt and custom tags to format number and apply the patterns accordingly. Now considering performance is it a better approach to surround the value with JSTL core tag(<c:if>) to check if value is not empty and then include the JSTL fmt tag?
I see that JSTL fmt tag checks if value is not null and then only applies formatting, but it also evaluates other attribute values provided in the tag using ExpressionEvaluator though the value is evaluated to null.
Please provide your comments and best practices if any.