The string module provides a Template class that implements these rules. Remember, you want the ratio of 4.3 width (or height) to be the same for the 16.9 width (or height). Thus, the formula to calculate the new width for 4:3 = (16:9 width x 4:3 height) /16:9 height. This instantiation and storing of the instance must happen before any requests are serviced. If eager is unspecified or false, or the managed-bean-scope is something other than «application», the default «lazy» instantiation and scoped storage of the managed bean happens. Scroll down to choose the escape attribute and inspect the documentation. As indicated by the documentation, the escape value is set to true by default.