摘要: app.js controller service 阅读全文
posted @ 2017-09-03 23:43 清风yi竹 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-09-05 22:59 清风yi竹 阅读(107) 评论(0) 推荐(0) 编辑
摘要: pom 阅读全文
posted @ 2017-08-14 00:49 清风yi竹 阅读(1042) 评论(0) 推荐(0) 编辑
摘要: UTF-8 javax.servlet jstl 1.2 javax.servlet.jsp jsp-api 2.2.1-b03 provided com.alibaba fastjson 1.1.24 mysq... 阅读全文
posted @ 2014-07-06 16:48 清风yi竹 阅读(209) 评论(0) 推荐(0) 编辑
摘要: @Test public void test(){ //new UserImpl(); /* ProxyT proxy=new ProxyT(new UserImpl()); proxy.add(); proxy.update();*/ final User user=new UserI... 阅读全文
posted @ 2014-06-23 16:15 清风yi竹 阅读(96) 评论(0) 推荐(0) 编辑
摘要: //用户操作的接口public interface User { public void add(); public void update(); }//用户接口的实现类public class UserImpl implements User { @Override public void ad... 阅读全文
posted @ 2014-06-23 14:46 清风yi竹 阅读(106) 评论(0) 推荐(0) 编辑
摘要: //之前懒得打字,今天稍微啰嗦点。说说什么是java反射,这个打个比喻,反射就像是一面镜子,通过它我们可以反观自己。反射其实就是用于描述java类的一个机制,通过它,可以了解类的属性和方法,在java的代理中就用到了反射。下面是我学习过程中的一些代码。 public static void main... 阅读全文
posted @ 2014-06-19 17:32 清风yi竹 阅读(144) 评论(0) 推荐(0) 编辑
摘要: //缓存数据流 @Test public void testBufferReaderAndWriter() throws IOException{ //创建文件字符输入流 Reader in=new FileReader("abc.txt"); BufferedReader br=new Bu... 阅读全文
posted @ 2014-06-16 11:19 清风yi竹 阅读(212) 评论(0) 推荐(0) 编辑
摘要: //输出流 @Test public void testOutStream() throws Exception{ OutputStream out =new FileOutputStream("abc.txt"); String content="hello word/nwww.baidu.c... 阅读全文
posted @ 2014-06-16 09:48 清风yi竹 阅读(120) 评论(0) 推荐(0) 编辑
摘要: @Test public void test() throws Exception{ //创建输入数据流对象 InputStream In=new FileInputStream("HellWord.txt"); try { //System.out.print((ch... 阅读全文
posted @ 2014-06-16 09:44 清风yi竹 阅读(125) 评论(0) 推荐(0) 编辑