摘要: 1、spring框架解决字符串编码问题:过滤器 CharacterEncodingFilter(filter-name) 2、在web.xml配置监听器ContextLoaderListener(listener-class) ContextLoaderListener的作用就是启动Web容器时,自 阅读全文
posted @ 2018-11-27 19:32 ZxrLove 阅读(182) 评论(0) 推荐(0) 编辑
摘要: <servlet> <!-- 配置DispatcherServlet --> <servlet-name>springMvc</servlet-name> <servlet-class>org.springframework.web.servlet.DispatcherServlet</servle 阅读全文
posted @ 2018-11-27 19:22 ZxrLove 阅读(2995) 评论(0) 推荐(0) 编辑
摘要: #!/bin/sh########################### #校验当前用户是否可部署user='whoami‘if ["$user"=="deploy_user"];thenecho "service is ready to deploy"elseecho "this user has 阅读全文
posted @ 2018-11-27 19:14 ZxrLove 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 标准化的系统必须要满足: 稳定、实用性强、性能三个方面 (1)安装标准 在安装前需要确定以下内容: hostname #用来标识主机所在位置,运行的服务;举例:sh-web1 这是比较简单的命名方式,也有比较复杂的:sh-jinqiao-lab-project1-web01; ip address 阅读全文
posted @ 2018-11-27 19:03 ZxrLove 阅读(178) 评论(0) 推荐(0) 编辑
摘要: asdfkjhakjshdglkajshldkghlasjdflkhaskldhglkjsldkfhjlkh 阅读全文
posted @ 2018-11-27 18:52 ZxrLove 阅读(82) 评论(0) 推荐(0) 编辑