请问如何读取properties文件中的全部内容
解决方案 »
- java获取配置文件后的返回值
- myeclipse如何连接sql server2005数据库
- 这样的程序谁做过!
- 一个奇怪的问题
- 急啊,,....一个窗口最小化的问题....在线等待.....
- 如何得到Checkbox是否被选中?
- javax.servlet.ServletException: [Microsoft][ODBC Microsoft Access Driver]参数不足,期待是1.
- 谁知道怎样在myEclpse6.5上配置webLogic10.3.1
- updatestring搞不懂,为什么报错!
- 我的websphere为何无法执行html文件中的jsp代码,而jsp文件却可以正常运行!
- 高手们,就是不管访问什么页面,前提条件就是登录,怎么做?
- jsp的表达式问题
List list = new ArrayList();
HashMap[] map = new HashMap[1000];
RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME);
int i = 0;
Enumeration<String> props = RESOURCE_BUNDLE.getKeys();
while (props.hasMoreElements()) {
map[i] = new HashMap();
String key = props.nextElement();
String value = RESOURCE_BUNDLE.getString(key);
map[i].put("key", key);
map[i].put("value", value);
list.add(i, map[i]);
i++;
}
return list;
}