Created
July 23, 2013 08:24
-
-
Save aliencode/6060769 to your computer and use it in GitHub Desktop.
##Spring3.2 Controller RequestMapping use properties file.
可配置的RequestMapping地址.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sys.user = /adm/user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//${key:defaultValue} | |
@RequestMapping("${sys.user:/adm/user}" ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<context:property-placeholder location="classpath*:/application.routing.properties"/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment