摘要: nginx是C语言开发,安装nginx需要先将官网下载的源码进行编译,编译依赖gcc环境,如果没有gcc环境,需要安装gcc 我用的是centos6.8系统,VMware虚拟机 , SecureCRT远程连接工具 步骤: 1 .进入 root 用户 cd / 进入根目录 2 安装gcc环境 yum 阅读全文
posted @ 2018-05-29 22:21 ssSir 阅读(30) 评论(0) 推荐(0)
摘要: pom.xml需要的jar <!-- 分页助手 --> <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</artifactId> <version>4.2.1</version> </depen 阅读全文
posted @ 2018-05-27 13:18 ssSir 阅读(56) 评论(0) 推荐(0)
摘要: 1. ssm 实际上是 spring + springmvc + mybatis 框架的整合 2. 业务层是service 控制层是controller 数据访问层是mapper(dao) 实体层是pojo 整体结构如下 原理: SpringMVC: 1.客户端发送请求到DispacherServl 阅读全文
posted @ 2018-05-26 18:32 ssSir 阅读(55) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.d 阅读全文
posted @ 2018-05-26 17:56 ssSir 阅读(25) 评论(0) 推荐(0)
摘要: spring-mvc.xml 代码 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/ 阅读全文
posted @ 2018-05-26 12:26 ssSir 阅读(35) 评论(0) 推荐(0)
摘要: 1.创建maven工程 pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http: 阅读全文
posted @ 2018-05-26 11:58 ssSir 阅读(48) 评论(0) 推荐(0)