此回复为自动发出,仅用于显示而已,并无任何其他特殊作用
楼主【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 %
值得尊敬
解决方案 »
- 跪求dms系统代码以供参考
- 初学spring,高分求教!!!!
- tomcat管理页面不能访问,请高手指教
- 如何用portlet实现一个页面里的portlet窗口之间的拖动,急~~~~~~~~~
- socket client端的一点疑惑,希望同学们帮帮忙
- logic:iterate的用法请教,测试了一个下午都没有搞定!谢谢先!
- 谁有java的jdk帮助文档,给我发一个,不甚感激呀
- 自己写了一个XML,想用它在jsp里生成动态树。哪位大人给小弟指点一下。现有100分全给了(在线等)
- 初学者问:tomcat5.5+jdk5 中文乱码问题,内附源码
- 怎么实现MINA写的服务器程序支持多个自定义协议,并且不停止服务器随意更换?
- 关于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]
可以结贴了。