此回复为自动发出,仅用于显示而已,并无任何其他特殊作用
楼主【salana】截止到2008-07-16 20:13:19的历史汇总数据(不包括此帖):
发帖的总数量:13 发帖的总分数:650 每贴平均分数:50
回帖的总数量:19 得分贴总数量:3 回帖的得分率:15%
结贴的总数量:12 结贴的总分数:550
无满意结贴数:0 无满意结贴分:0
未结的帖子数:1 未结的总分数:100
结贴的百分比:92.31 % 结分的百分比:84.62 %
无满意结贴率:0.00 % 无满意结分率:0.00 %
值得尊敬
楼主【salana】截止到2008-07-16 20:13:19的历史汇总数据(不包括此帖):
发帖的总数量:13 发帖的总分数:650 每贴平均分数:50
回帖的总数量:19 得分贴总数量:3 回帖的得分率:15%
结贴的总数量:12 结贴的总分数:550
无满意结贴数:0 无满意结贴分:0
未结的帖子数:1 未结的总分数:100
结贴的百分比:92.31 % 结分的百分比:84.62 %
无满意结贴率:0.00 % 无满意结分率:0.00 %
值得尊敬
解决方案 »
- wssecurity 实现数字签名报错,高手请指点一下。
- Eclipse布置时启动服务出错该怎么解决
- 使用HibernateTemplate.delete(Object entity)出现的问题
- 关于方法传参问题
- jsp传递参数出问题,大家帮帮忙
- myeclise6.5 生成的 hibernate3的session是否需要手动关闭
- htmlparser分析数据
- hibernate能映射试图吗?
- eclipse的简单快捷键的使用问题
- 大家请帮我看以下这段程序的问题出在哪里?怎么执行的结果老是"error"?
- 关于SSH框架的配置文件applicationContext.xml
- struts2一点小问题
另外,类名的首字母要最好规范的大些!public class Readxml{}
public static String aa="sdafd";
public static String index1=null;
public static String index2=null;
public static String index3=null;
public static String index4=null;
public static String index5=null;
public static String index6=null;
public readxml() {
Properties la = new Properties();
try {
FileInputStream file = new FileInputStream("D:/workspace/modernserver/WebRoot/WEB-INF/classes/mail.properties");
la.load(file);
String index01 = la.getProperty("index01");
String index02 = la.getProperty("index02");
String index03 = la.getProperty("index03");
String index04 = la.getProperty("index04");
String index05 = la.getProperty("index05");
String index06 = la.getProperty("index06");
this.index1=index01;
this.index2=index02;
this.index3=index03;
this.index4=index04;
this.index5=index05;
this.index6=index06;
} catch (Exception ex) {System.out.println(ex); }
}
}就是我这个类在生成对象的时候index1会不会被附值?
可以通过索引的方式获得其中的值吗? la.getProperty(0);
我猜能,否则你不会来问了2 你的数据能拿到吗?
我猜不能,肯定是null,否则也不来问了3 你的代码报异常了吗?
1)报了
} catch (Exception ex) {
System.out.println(ex);
}
那就把你的异常信息贴上来 2) 没有,那就把你的 properties 文件贴上来
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
可以结贴了。