I am using JSF and have made a custom servlet for loading images dynamically.
I want this servlet to pick up my image folder location i.e. “F:\photos\images\” from the resource bundle. How do I access my resource bundle defined in my faces-config?
I do not want to hard code this value in the servlet :/
Let’s say you have a resource bundle defined like this:
In Java you can access this property file like this: