Spring @Value Annotation test
Purpose of this simple application is to test if Spring @Value annotation can be used to inject values into servlets that are managed by servlet container.
- clone to your local disk
- build with maven:
deploy_this.warfile into tomcat
- open browser and navigate to http://localhost:8080/deploy_this/
You should see a simple HTML page with two links:
foo will display content of inject.properties file.
I created a new thread in Spring Community Forum. If you want to add comments, consider doing it there…
Spring JIRA Issue
I opened a bug in JIRA for this, you can follow it here: https://jira.springsource.org/browse/SPR-8574