Ok, so I have image locations stored in my ApplicationResources.properties file so it's easy to swap the images out. Displaying the images directly in a
jsp is simple:
Now lets say I want to make a calculation in the business logic and return a value, either red, yellow, or green. Then have the the propery color icon displayed on the jsp. Scriptlets cannot be used or it would be easy to simply include an if statement.
How would you handle this, keeping as much out of the JSP as possible?