摘要: 由于是练习,故只做了感兴趣的一部分测试。测试类容XML配置转注解方式实体类为了测试请忽略设计是否合理… User.java@Alias("User")public class User { private Integer id; private String username; private St 阅读全文
posted @ 2019-06-26 10:52 Mr_rain 阅读(623) 评论(0) 推荐(0) 编辑
摘要: 在这里只说一种简单的方式就是在idea中进行简单的设置就可以:第一步:设置IDEA开启项目自动编译,进入设置找到Build,Execut, Deployment -> Compiler 勾选中左侧的Build Project automatically 第二步:IDEA开启项目运行时自动make, 阅读全文
posted @ 2019-05-30 21:12 Mr_rain 阅读(4218) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?><web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sc 阅读全文
posted @ 2019-05-28 18:38 Mr_rain 阅读(2274) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 阅读全文
posted @ 2019-05-28 18:37 Mr_rain 阅读(657) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 阅读全文
posted @ 2019-05-28 18:36 Mr_rain 阅读(1888) 评论(0) 推荐(0) 编辑
摘要: <!--spring 的核心的jar包--><dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>${spring.version}</version></d 阅读全文
posted @ 2019-05-28 18:35 Mr_rain 阅读(636) 评论(0) 推荐(0) 编辑
摘要: 刚开始接触maven web项目的时候,相信很多人都会被它的目录结构迷惑。 为了避免初学者遇到像我一样的困扰,我就从一个纯初学者的视角,来分析一下这个东西。 1,比如说,我们拿一个常见的目录结构来看,如下。 2.上图中,为啥又有Java Resources文件夹的代码,又有src文件夹的代码呢?那我 阅读全文
posted @ 2019-03-29 10:46 Mr_rain 阅读(3165) 评论(0) 推荐(1) 编辑
摘要: https://www.jianshu.com/p/28e3b4d61945 阅读全文
posted @ 2019-03-13 16:28 Mr_rain 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 使用jquery的.attr( )方法去给div隐藏,这样写的 $("#div_id").attr("display","none"),发现并没有生效,但是docunment.getElementById("div_id").style("display","none")就生效了。 而且再调试的时候 阅读全文
posted @ 2019-03-13 16:26 Mr_rain 阅读(3434) 评论(0) 推荐(1) 编辑
摘要: ajax诠释 ajax 的全称是Asynchronous JavaScript and XML,其中,Asynchronous 是异步的意思,它有别于传统web开发中采用的同步的方式。 ajax所包含的技术 大家都知道ajax并非一种新的技术,而是几种原有技术的结合体。它由下列技术组合而成。 1.使 阅读全文
posted @ 2019-03-13 16:25 Mr_rain 阅读(1682) 评论(0) 推荐(0) 编辑