literal « String « JSP-Servlet Q&A





1. String literal constants - opinion sought.    coderanch.com

One of the practices we follow at my workplace is to create a Constants class to store string literals that can be referred to throughout the application. However, this approach encourages the use of scriptlet code in jsps, instead of JSTL. For example. If I have a request parameter foo that is being used all over the app. In the non ...