intallAnyWhere 如何读取属性文件。具体的配置步骤如何。
比如struts中在web.xml中可以指定属性文件的位置,installAnyWhere 中如何让设置
在customCodeAction install 方法中写了
String propertiesFile = ip.substitute("$PROPERTIES_FILE_LOCATION$");
在属性文件customCode.properties中写了
property.PROPERTIES_FILE_LOCATION=$USER_INSTALL_DIR$$/$my.properties
我运行的时候总报错 找不到属性文件
请指点一下 先谢谢了 在线等
比如struts中在web.xml中可以指定属性文件的位置,installAnyWhere 中如何让设置
在customCodeAction install 方法中写了
String propertiesFile = ip.substitute("$PROPERTIES_FILE_LOCATION$");
在属性文件customCode.properties中写了
property.PROPERTIES_FILE_LOCATION=$USER_INSTALL_DIR$$/$my.properties
我运行的时候总报错 找不到属性文件
请指点一下 先谢谢了 在线等
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货