Spring mvc : Access properties file value in controller without @Value -


I have a property file for the message in my spring application. I want to access these values ​​directly in the controller. How can I do this? Note: I do not want to use the @Value annotation to store the data in any other variable.

You can refer to this question and answer directly about accessing files inside the controller. can give. This is mine which I applied.


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

asp.net mvc - How to attach sql database to a javascript graph -

c# - How to know the number of Threads created and limit the Tasks accordingly -