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

mysql - How to enter php data into a html multiple select box -

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

c++ - Cassandra datastax cpp driver - avoiding unnecessary copies -