Back Forum Reply New

Injecting a locale

Hi folks,

I was just wondering if spring already provides an easy way to inject a locale in any spring bean. I mean something likeCode:
lt;bean name=quot;fooquot;gt; lt;property name=quot;localequot; value=quot;dequot;/gt;
lt;/beangt;
where the quot;dequot; might in the format de or de_DE. I know it ain't hard to implement this on your own, but I'm never tired of learning new Spring moves ;-)

regards

Alright, sorry guys, I had an error in my bean configuration and just noticed that that's possible out of the box.
¥
Back Forum Reply New