2017年10月24日

摘要: 初学MyBatis-Spring,发个帖子记录一下自己的学习历程,先写个自己的编程步骤。 1.先进行数据库设计。 2.根据所设计的数据,写出相应的POJO,并写出setter和getter方法。 3.编写Mapper接口,并写出其相应的xml文件。 4.编写MyBatisConfig.xml文件,现 阅读全文
posted @ 2017-10-24 14:54 Damzy 阅读(111) 评论(0) 推荐(0) 编辑

2017年10月8日

摘要: 1.getAttribute 是取得jsp中 用setAttribute 设定的attribute 2.parameter得到的是String;attribute得到的是object 3.request.getParameter()方法传递的数据,会从Web客户端传到Web服务器端,代表HTTP请求 阅读全文
posted @ 2017-10-08 13:23 Damzy 阅读(140) 评论(0) 推荐(0) 编辑

2017年10月1日

摘要: 对于response.setContentType()和response.setCharacterEncoding()的理解: 经过一些实践,对着两个方法有了一些自己的理解,有可能今后的学习中会发现自己现在得理解是错误的,到时候再改吧。 setCharacterEncoding()方法的作用是指定对 阅读全文
posted @ 2017-10-01 22:39 Damzy 阅读(4190) 评论(0) 推荐(0) 编辑