Loading

上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 31 下一页
摘要: 在 /etc/vim/vimrc 输入vim vimrc 在最后填 高亮 syntax on 显示行数 set nu 阅读全文
posted @ 2020-04-11 03:07 Rzk 阅读(343) 评论(0) 推荐(0) 编辑
摘要: 出现这个错误的原因可能有两个: 1.当前用户的权限不足; 2.此文件可能正被其他程序或用户使用。 一般错误原因都是前者,解决方案是在使用vi命令打开文件时,前面加上sudo来临时提供管理员权限,比如使用命令“sudo vi vimrc”打开编辑文件。 阅读全文
posted @ 2020-04-11 03:04 Rzk 阅读(1477) 评论(1) 推荐(0) 编辑
摘要: @Controller public class RestFullController { //映射访问路径 @RequestMapping("/r1") public String RestFull(int a,int b,Model model){ //Spring MVC会自动实例化一个Mod 阅读全文
posted @ 2020-04-10 23:50 Rzk 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 这里的项目地址 复制 右键出现svn点击 把码云仓库的地址放进去 这里的项目地址 点击确定就好了 阅读全文
posted @ 2020-04-10 03:13 Rzk 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 1 <build> 2 <resources> 3 <resource> 4 <directory>src/main/resources</directory> 5 <includes> 6 <include>**/*.properties</include> 7 <include>**/*.xml 阅读全文
posted @ 2020-04-09 13:34 Rzk 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 1 /* 2 * 观察者 3 * 关注公众号的人 4 * */ 5 public interface Observer { 6 //处理公众号发来的信息 7 void handleNotify(Object message); 8 } 1 //观察者 2 public class User2Obse 阅读全文
posted @ 2020-04-08 21:02 Rzk 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 1 <!--声明事务--> 2 <bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager"> 3 <property name="dataSource" 阅读全文
posted @ 2020-04-08 10:48 Rzk 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 下载Apache地址 https://de.apachehaus.com/downloads/httpd-2.4.41-o111c-x64-vc15-r2.zip apache :特点是处理静态资源(html 图片 js) .这里的apache是一个服务工具,不是之前理解的 基金组织。 tomcat 阅读全文
posted @ 2020-04-07 23:27 Rzk 阅读(523) 评论(0) 推荐(0) 编辑
摘要: 1 /** 2 * Cglib 动态代理 3 * 1.引入cglib-nodep-2.2.jar 依赖 4 * 2.实现MethodInterceptor 接口 5 * 3.创建一个代理对象 6 * 4.完成 intercept方法 7 */ 8 public class CgilbProxy im 阅读全文
posted @ 2020-04-07 21:20 Rzk 阅读(252) 评论(3) 推荐(0) 编辑
摘要: 1 pom.xml 添加依赖 数据库包要对应版本 2 <dependencies> 3 <dependency> 4 <groupId>junit</groupId> 5 <artifactId>junit</artifactId> 6 <version>4.12</version> 7 </dep 阅读全文
posted @ 2020-04-07 16:32 Rzk 阅读(291) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 31 下一页