请问getClass().getResourceAsStream(fileName)中的fileName可以用绝对路径吗? 上面写错了,是:prop.load(getClass().getResourceAsStream("D:\\props\\feconfig.properties"));好像不行,不知道可以吗?为什么呢? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 This method delegates the call to its class loader, after making these changes to the resource name: if the resource name starts with "/", it is unchanged; otherwise, the package name is prepended to the resource name after converting "." to "/". JAVA怎么变成实现发短信功能 substring 求助,java文件转换成uml图,用什么工具,如何用。 高分求js函数(50) 求最新版的snap-connectionpool连接池 看到 下面代码之后 看看谁能猜出更多蛛丝马迹??? 大家帮我看一个程序? 在线等:获取System.in得到的字符串,总是少第一个字符。郁闷...... 菜鸟提问Tomcat有什么用,怎么用,谢谢! 问各位高手一个很菜的问题! 如何动态得到自身的名字????????????????? 朋友们帮忙小弟力量有限,这是我们争取自己在CSDN的权利的机会!!!!!!!!!!!!!!!!!!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货