摘要:
1 import java.io.BufferedReader; 2 import java.io.IOException; 3 import java.io.InputStreamReader; 4 5 /** 6 * 获取MAC地址 7 * @author sunlightcs 8 * 9 */ 10 public class GetMacAddress { 11 12 /** 13 * 获取当前操作系统名称. 14 * return 操作系统名称 例... 阅读全文
posted @ 2014-03-18 15:22
哎呦喂,我的小祖宗╰つ
阅读(243)
评论(0)
推荐(0)
摘要:
1 2 3 New Document 4 5 6 //上方 7 8 9 //左侧 --------链接点击进来,target="menu"10 11 //正文 ---------链接点击进来 target="content"12 13 14 15 16 您的浏览器不支持frame17 18 19 2... 阅读全文
posted @ 2014-03-18 11:06
哎呦喂,我的小祖宗╰つ
阅读(246)
评论(0)
推荐(0)
摘要:
首先要在初始化参数的类上写上注解@Compoent,并且这个类要实现InitializingBean,ServletContextAware两个接口,然后在通过类的加载器获得参数配置文件在利用Properties类得到参数的值。 1 @Component 2 public class InitArgument implements InitializingBean,ServletContextAware{ 3 4 private ServletContext context; 5 public void afterPropertiesSet() throws Exce... 阅读全文
posted @ 2014-03-18 09:27
哎呦喂,我的小祖宗╰つ
阅读(703)
评论(0)
推荐(0)
浙公网安备 33010602011771号