JSF Multiple EL String concatenation

Today I’ve come to experience an usual situation which did result me to concatenate two strings values exceptionally derived from different EL sources. One is derived from database/controller the other is the messages/language sources. As you apprehend the situation from the below screenshot, Annual and Monthly values which pointed in the red color are fetched

Enabling auto reconnect in mysql hibernate spring

in your spring config file append the url entry with the below sample   <bean id=”dataSource” class=”org.apache.commons.dbcp.BasicDataSource” destroy-method=”close”> <property name=”driverClassName” value=”${database.driverClassName}” /> <property name=”url” value=”${database.url}?characterEncoding=UTF-8&amp;autoReconnect=true”/> <property name=”username” value=”${database.user}” /> <property name=”password” value=”${database.password}” /> </bean>