Jun 23rd, 2010, 07:11 AM
Accessing variables in properties file in my flow
I am using spring webflow 2.0.8-release on tomcat. I would like to access a variable which is in a properties file from within my flow. For example, I have a variable named connection.url defined in config.properties file which is in the tomcat classpath. The shopping-cart-flow.xml would like to know the value of the above variable.
I am currently using a spring bean to return the above property and invoking the method in the bean in my flow using ognl. Is there a better way to do this?
Any help will be greatly appreciated.
Tags for this Thread