Wow, thanks for such a blazing fast response Igor!
Actually, I am already using the PropertyPlaceholderConfigurer (I think this
is what you are talking about), and using different filter files for my
different environments connected through profiles in my pom.xml file. Knew
none of this stuff
SWEET, I was able to add it to my application bean directly:
bean id=wicketApplication
class=com.untd.bsmatrix.MatrixApplication
property name=hostURL value=${app.host.url}/
/bean
Of course, I have more properties like this but the first example worked as
expected!
Thanks again
getClass().getClassLoader().getResourceAsStream() has always worked
fine for me. also did you check your war and make sure the properties
file was packaged?
i see you are using spring? (ApplicationContext) if so you might want
to look at propertyconfigurer - it is easy to setup a bean: