上一页 1 2 3 4 5 6 7 8 9 ··· 32 下一页
摘要: 下载phpadmin,安装后网站根目录 phpStudy\PHPTutorial\WWW 将下载的dvwa文件夹放到该目录下,修改config/config.inc.php文件中的mysql连接信息。 浏览器访问http://localhost/dvwa/ ,创建数据库,访问dvwa, Userna 阅读全文
posted @ 2019-01-22 16:44 kangjie 阅读(749) 评论(0) 推荐(0) 编辑
摘要: 由于工具没有识别到项目的pom.xml文件,所以需要在右侧的Maven栏目中点击 + 号,选中项目的pom.xml文件,则导入成功。 阅读全文
posted @ 2019-01-16 15:49 kangjie 阅读(11090) 评论(0) 推荐(0) 编辑
摘要: @ControllerAdvice public class MyControllerAdvice { /** * 全局异常捕捉处理 * @param ex * @return */ @ResponseBody @ExceptionHandler(value = Exception.class) public Objec... 阅读全文
posted @ 2019-01-07 21:47 kangjie 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 小程序开发端点:debugger; 使用F8跳过端点进行调试。 阅读全文
posted @ 2019-01-04 16:11 kangjie 阅读(148) 评论(0) 推荐(0) 编辑
摘要: Sping最成功的是其提出的理念,而不是技术本身。它所依赖的两个核心的理念,一个是控制反转(Inversion of Control,IOC),另一个是面向切面编程(Aspect Oriented Programming,AOP)。 IOC容器是Spring的核心,可以说Spring是一种基于IoC 阅读全文
posted @ 2019-01-02 14:54 kangjie 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 下载mysql安装包: 解压并移动到/usr/local/mysql目录 执行脚本 脚本内容: 阅读全文
posted @ 2018-12-22 00:53 kangjie 阅读(897) 评论(0) 推荐(0) 编辑
摘要: 一般情况下maven项目不能添加到tomcat容器中 ,需要在项目上进行设置 但是sts没有安装此插件,可以改用eclipse进行开发。 阅读全文
posted @ 2018-12-20 22:59 kangjie 阅读(3116) 评论(0) 推荐(0) 编辑
摘要: jdbc.url=jdbc:mysql://localhost:3306/pabc?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false& 阅读全文
posted @ 2018-12-20 22:40 kangjie 阅读(3996) 评论(0) 推荐(0) 编辑
摘要: public static IConstantFactory me(){ return SpringContextHolder.getBean(beanName:"constantFactory"); }private static Constants constants = SpringContextHolder.getBean(Constants.class); 阅读全文
posted @ 2018-12-13 22:22 kangjie 阅读(1833) 评论(0) 推荐(0) 编辑
摘要: nginx图片服务器,因为图片的敏感度,不允许直接访问图片的目录: 需要修改配置文件,去掉 autoindex on; 重启nginx即可 阅读全文
posted @ 2018-12-10 10:10 kangjie 阅读(5198) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 32 下一页