数码产品
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 22 下一页
摘要: springboot 默认自动扫描和配置根包下面的类。如果启动配置不在根包目录下,得把对应的类进行配置扫描生成对应的bean。 主要的扫描注解有: @SpringBootApplication //springboot启动注解配置@EnableJpaRepositories(basePackages 阅读全文
posted @ 2019-08-20 21:16 Hackerman 阅读(245) 评论(0) 推荐(0) 编辑
摘要: maven update project maven build 阅读全文
posted @ 2019-08-10 23:15 Hackerman 阅读(202) 评论(0) 推荐(0) 编辑
摘要: create user test identified by ‘password’;password 你要创建的用户对应的密码 grant all on database.* to test; database 指要授权的数据库 阅读全文
posted @ 2019-08-09 22:19 Hackerman 阅读(1045) 评论(0) 推荐(0) 编辑
摘要: https://repo.spring.io/libs-release-local/org/springframework/spring/ 阅读全文
posted @ 2019-07-27 13:10 Hackerman 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 一、Struts中Action得创建方式 1,直接创建一个简单的Action类 添加Struts.xml,配置转发方法返回转发的页面。 2,实现一个Action类 Strust.xml配置对应的Url转发映射。 3,继承一个ActionSupport类 struts.xml配置文件的内容如下: 二、 阅读全文
posted @ 2019-07-22 12:14 Hackerman 阅读(1129) 评论(0) 推荐(0) 编辑
摘要: Struts中配置action访问出错: Struts Problem Report Struts has detected an unhandled exception: Messages: No result defined for action com.java.test.Action.Hel 阅读全文
posted @ 2019-07-20 17:53 Hackerman 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 用response得到输出流,即response.getOuptStream(); 返回值为ServletOutputStream 对象,即JSP的out对象,要么用response得到输出对象PrintWriter即response.getWriter()。 Java代码 protected vo 阅读全文
posted @ 2019-07-13 19:37 Hackerman 阅读(3647) 评论(0) 推荐(0) 编辑
摘要: https://segmentfault.com/a/1190000019203847 阅读全文
posted @ 2019-07-12 23:09 Hackerman 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 使用toolbox 工具使用docker创建nginx 容器,使用localhost不能访问? 使用docker run --rm -d --name dweb -p 80:80 nginx 命令执行之后,通过http://localhost访问,却没有反应。 解决办法: 在toolbox中执行do 阅读全文
posted @ 2019-06-03 19:08 Hackerman 阅读(1279) 评论(0) 推荐(0) 编辑
摘要: 给你一个复杂sql连接不同的表,多个嵌套查询条件等的语句时,你是非常的胆怯由于对语法的不熟悉以及没有经验和自信,现在我们来学习一下如何写复杂的sql,我们把它分解为很多小的步骤进行 一、集中最后的输出结果 开始在头脑中想到要输出的最终结果并且写下期待的结果集从查询中得到的,评估有多少记录你需要取回并 阅读全文
posted @ 2019-05-27 23:52 Hackerman 阅读(5121) 评论(1) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 22 下一页
数码产品