1.core==>project.properties:
change.password.code.clientId=smartedit
2.**Constants.java:
public class ChangePwd{
public static final String CLIENTID = "change.password.code.clientId";
}
3.自己的方法:
//从配置文件中获取clientID
final String clientId = Config.getString(**Constants.ChangePwd.CLIENTID,"smartedit");
=====*=====
全球化配置:
全球化方法参考:(提示信息全球化)
com.dp.alps.storefront.controllers.pages.AccountPageController
Line614:getMessageSource()
properties:
实现类:
controller: