上一页 1 ··· 5 6 7 8 9 10 下一页
摘要: printf "%-5s %-10s %-4s\n" No Name Mark printf "%-5s %-10s %-4.2f\n" 1 Sarath 80.3456 %-5s知名了一个格式为左对齐且宽度为5的字符串替换(-表示左对齐) pgrep -f wechat 查找有wechat的pid 阅读全文
posted @ 2017-07-19 18:09 alexhe 阅读(363) 评论(0) 推荐(0)
摘要: yum install epel-release.noarch yum install docker-io.x86_64 docker info docker exec -ti alex /bin/bash一般用这个,退出用ctrl d docker run -i -t ubuntu /bin/ba 阅读全文
posted @ 2017-07-10 18:07 alexhe 阅读(188) 评论(0) 推荐(0)
摘要: show status\G; binlog_cache_size=131072 tmp_table_size=104857600 max_connections=5000 sort_buffer_size=1048576 join_buffer_size=1048576 innodb_sort_bu 阅读全文
posted @ 2017-05-24 00:26 alexhe 阅读(156) 评论(0) 推荐(0)
摘要: 导入mysql数据库: set names utf8; source cloud_note.sql 1.搭建springMvc+springIOc+Mybatis --引入jar包 ioc,aop,dao,webmvc,json mybatis+mysql驱动+dbcp mybatis-spring 阅读全文
posted @ 2017-05-17 23:35 alexhe 阅读(857) 评论(2) 推荐(0)
摘要: <script type="text/javascript" src="js/jquery-1.11.1.js"></script> $.ajax()-->XMLHttpRequest $.ajax({ url:xxx,type:post|get,data:提交的数据,async:true|fals 阅读全文
posted @ 2017-05-15 23:33 alexhe 阅读(208) 评论(0) 推荐(0)
摘要: 1.mybatis 作用:封装了jdbc操作,简化数据库访问代码。 封装功能如下: --封装了获取连接,执行sql,释放链接。 --封装了sql参数设置 --封装了记录映射成实体对象过程,实体类属性名要与查询结果集ResultSet中的列名保持一致。 mybatis需要的jar包: mybatis, 阅读全文
posted @ 2017-05-12 22:46 alexhe 阅读(219) 评论(0) 推荐(0)
摘要: 1.spring与jdbc整合应用 a。增删改 -获取connection -获取statement -设置sql中?参数 -执行sql操作 -释放connection b。查询 -获取connection -获取statement -设置sql中?参数 -执行sql操作获取resultset结果 阅读全文
posted @ 2017-05-11 15:35 alexhe 阅读(213) 评论(0) 推荐(0)
摘要: unit04_01 a.RequestMappingHandlerMapping组件 @RequestMapping("/login.do") 该标记用在Controller业务方法前 b.Controller编写和配置 取消了实现Controller接口及方法的约定,可以允许程序猿按需要灵活定义业 阅读全文
posted @ 2017-05-08 22:31 alexhe 阅读(257) 评论(0) 推荐(0)
摘要: unit03_01 unit03_02 springmvc流程图 案例:hello示例 /hello.do --> springmvc --> /WEB-INF/hello.jsp /hello.do --> DispatcherServlet -->HandlerMapping -->HelloC 阅读全文
posted @ 2017-05-07 17:23 alexhe 阅读(161) 评论(0) 推荐(0)
摘要: ioc 和aop是spring的核心 spring整合其他技术,例如jdbc,mybtis,hibernate,struts等。 spring ioc应用 a。管理对象 创建,初始化,释放资源,销毁 b。维护对象关系 c。搭建SpringIOC开发环境,引入jar包,在src添加applicatio 阅读全文
posted @ 2017-05-04 23:06 alexhe 阅读(262) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 下一页