This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am using JSP 2.0, JSTL 1.1 and tomcat. The "PropertyFileReader" used here reads a property file and returns a HashMap on calling getProperty(). The logic is just to change the CSS, where by user selects the theme in the previous page.
<% String contextPath = request.getContextPath(); PropertyFileReader propertyFile = new PropertyFileReader("resources.Themes");