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 -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -