摘要: 1、不引用Jar包或者资源文件夹 最简单的程序Hello World。 首先创建Hello.java 编译生成Hello.class文件。下面写用sh脚本执行Hello 将以上生成的Hello.class文件拷贝至主文件夹,然后新建一个脚本文件ex.sh 说明: cd /home/xyw/ 定位到H 阅读全文
posted @ 2016-03-17 16:36 Mason.Ke 阅读(1423) 评论(0) 推荐(0) 编辑
摘要: 在bean(可是controller, service, dao等了)中,使用@Value注解: @Service public class TestService{ @Value("${sytem.username}") String loginUserName; } sytem.username 阅读全文
posted @ 2016-03-17 15:48 Mason.Ke 阅读(297) 评论(0) 推荐(0) 编辑