04 2020 档案

摘要:https://blog.csdn.net/ggrjake25/article/details/96726511 阅读全文
posted @ 2020-04-27 22:41 尐鱼儿 阅读(219) 评论(0) 推荐(0) 编辑
摘要:为数据库中的表t_exam_answer_record添加一个字段scene,并设置默认值'' DDL如下: alert table t_exam_answer_record add column scene varchar(64) not null default ''; 阅读全文
posted @ 2020-04-24 18:35 尐鱼儿 阅读(8739) 评论(2) 推荐(0) 编辑
摘要:转自:http://www.cnblogs.com/Matrix54/archive/2012/05/01/2478158.html 一. 获取当前系统时间和日期并格式化输出: import java.util.Date;import java.text.SimpleDateFormat; publ 阅读全文
posted @ 2020-04-24 12:25 尐鱼儿 阅读(981) 评论(0) 推荐(0) 编辑
摘要:https://jingyan.baidu.com/article/2f9b480d66dd3701ca6cc216.html 阅读全文
posted @ 2020-04-23 00:17 尐鱼儿 阅读(1309) 评论(0) 推荐(0) 编辑
摘要:https://jingyan.baidu.com/article/91f5db1b73d64c1c7f05e3dc.html 阅读全文
posted @ 2020-04-22 23:50 尐鱼儿 阅读(532) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_38963960/article/details/89552704 Ctrl快捷键 介绍Ctrl + F 在当前文件进行文本查找 (必备)Ctrl + R 在当前文件进行文本替换 (必备)Ctrl + Z 撤销 (必备)Ctrl + Y 删除光标所在 阅读全文
posted @ 2020-04-22 22:47 尐鱼儿 阅读(333) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/tiantiandjava/article/details/42269173 阅读全文
posted @ 2020-04-22 22:46 尐鱼儿 阅读(166) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/lwcode6/p/11598632.html 阅读全文
posted @ 2020-04-15 14:11 尐鱼儿 阅读(116) 评论(0) 推荐(0) 编辑
摘要:请使用迅雷下载 http://www-us.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.zip 浏览地址 https://downloads.apache.org/maven/maven-3/3.3.9/ 阅读全文
posted @ 2020-04-14 23:55 尐鱼儿 阅读(7173) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/GaoNa/p/9478993.html 阅读全文
posted @ 2020-04-14 17:17 尐鱼儿 阅读(1290) 评论(0) 推荐(0) 编辑
摘要:引用地址 https://www.cnblogs.com/for-example/p/VS2019-Key.html Visual Studio 2019 Enterprise BF8Y8-GN2QH-T84XB-QVY3B-RC4DF Visual Studio 2019 Professional 阅读全文
posted @ 2020-04-14 15:48 尐鱼儿 阅读(2440) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/runw/p/11802455.html 阅读全文
posted @ 2020-04-14 15:18 尐鱼儿 阅读(682) 评论(0) 推荐(0) 编辑
摘要:http://www.xitongtiandi.net/wenzhang/win10/25877.html 阅读全文
posted @ 2020-04-14 13:33 尐鱼儿 阅读(421) 评论(0) 推荐(0) 编辑
摘要:https://www.xmind.cn/ https://www.voidtools.com/zh-cn/ https://www.videolan.org/ https://www.microsoft.com/en-us/edge https://unity.com/ https://devel 阅读全文
posted @ 2020-04-14 12:34 尐鱼儿 阅读(212) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/zlslch/p/5658236.html 阅读全文
posted @ 2020-04-09 16:58 尐鱼儿 阅读(472) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/diyu122222/article/details/77717970 阅读全文
posted @ 2020-04-09 15:45 尐鱼儿 阅读(534) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/xihong2014/p/10969903.html 阅读全文
posted @ 2020-04-09 15:43 尐鱼儿 阅读(962) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/liaonanfeng88/article/details/84143488 https://blog.csdn.net/weixin_42236535/article/details/98479675 阅读全文
posted @ 2020-04-09 14:57 尐鱼儿 阅读(888) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/1906859953Lucas/p/10823610.html https://blog.csdn.net/qq_32492777/article/details/87774960 阅读全文
posted @ 2020-04-09 14:56 尐鱼儿 阅读(419) 评论(0) 推荐(0) 编辑
摘要:1.首先在"环境变量-系统变量"的PATH(已存在不用新建)里追加值。注意变量值之间用";"隔开。注意原来Path的变量值末尾有没有;号,如果没有,先输入;号再输入。如果你的系统是Windows10,就相对方便多了,不用担心这个";"。 变量 追加值(windows7下用英文分号; 隔开其他值),一 阅读全文
posted @ 2020-04-09 13:55 尐鱼儿 阅读(4429) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_34575174/article/details/89312927 阅读全文
posted @ 2020-04-09 13:29 尐鱼儿 阅读(165) 评论(0) 推荐(0) 编辑
摘要:zTree基本使用 https://blog.csdn.net/qq_32444825/article/details/81170621 zTree 简介 http://www.treejs.cn/v3/main.php#_zTreeInfo 阅读全文
posted @ 2020-04-08 18:20 尐鱼儿 阅读(142) 评论(0) 推荐(0) 编辑
摘要:Struts2 拦截器 https://www.w3cschool.cn/struts_2/struts_interceptors.html 阅读全文
posted @ 2020-04-08 18:16 尐鱼儿 阅读(73) 评论(0) 推荐(0) 编辑
摘要:最近在修改同事代码时,经常遇到莫名的问题,比如查询结果集中出现上一次请求中的脏数据,我就排查啊,总觉得是代码哪个地方写的不严谨,后来想到了,可能是action对象成单例造成的。看了下spring配置文件,果然,全部没有加 scope="prototype"。加上后,问题顺利解决。 ps:不写scop 阅读全文
posted @ 2020-04-08 18:14 尐鱼儿 阅读(312) 评论(0) 推荐(0) 编辑
摘要:spring 默认scope 是单例模式,这样只会创建一个Action对象,每次访问都是同一个Action对象,数据不安全,struts2 是要求每次次访问都对应不同的Action,scope="prototype" 可以保证 当有请求的时候 都创建一个Action对象。1.struts2为每个线程 阅读全文
posted @ 2020-04-08 18:12 尐鱼儿 阅读(351) 评论(0) 推荐(0) 编辑
摘要:Hibernate学习—Hibernate 映射类型 https://www.cnblogs.com/tenWood/p/7253566.html Hibernate - Java 类型, Hibernate 映射类型及 SQL 类型之间的对应关系 https://blog.csdn.net/j08 阅读全文
posted @ 2020-04-08 17:53 尐鱼儿 阅读(62) 评论(0) 推荐(0) 编辑
摘要:net.sf.json JSONObject与JSONArray使用实例 https://www.cnblogs.com/x-ll123/p/9352175.html 阅读全文
posted @ 2020-04-08 17:23 尐鱼儿 阅读(1021) 评论(0) 推荐(0) 编辑
摘要:net.sf.json的jar包->JSONArray 引入时注意事项 https://blog.csdn.net/qq_42815754/article/details/83446635 阅读全文
posted @ 2020-04-08 17:21 尐鱼儿 阅读(1794) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/weixin_41069280/article/details/79516373 阅读全文
posted @ 2020-04-08 16:38 尐鱼儿 阅读(351) 评论(0) 推荐(0) 编辑
摘要:hibernate的hibernate.hbm2ddl.auto属性 https://blog.csdn.net/u012773469/article/details/83330482 hibernate.hbm2ddl.auto配置详解 https://www.cnblogs.com/talo/a 阅读全文
posted @ 2020-04-08 16:36 尐鱼儿 阅读(133) 评论(0) 推荐(0) 编辑
摘要:java.io.Serializable(序列化)接口详细总结 https://blog.csdn.net/so_geili/article/details/78931742 序列化梳理 https://blog.csdn.net/so_geili/article/details/99836043 阅读全文
posted @ 2020-04-08 14:55 尐鱼儿 阅读(350) 评论(0) 推荐(0) 编辑
摘要:lombok https://projectlombok.org/ Lombok中的@Data注解 https://www.cnblogs.com/qianjinyan/p/9576939.html 引用了lombok.Data包,但是不起效,这是为什么? https://blog.csdn.net 阅读全文
posted @ 2020-04-08 14:42 尐鱼儿 阅读(114) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/lihanxiang/p/8475548.html 阅读全文
posted @ 2020-04-08 14:38 尐鱼儿 阅读(132) 评论(0) 推荐(0) 编辑
摘要:详解 hibernate mapping配置 https://www.jb51.net/article/115130.htm <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate 阅读全文
posted @ 2020-04-08 14:37 尐鱼儿 阅读(1611) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/xiohao/p/3633641.html 阅读全文
posted @ 2020-04-08 14:03 尐鱼儿 阅读(150) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/mq0036/p/8522150.html 阅读全文
posted @ 2020-04-08 14:01 尐鱼儿 阅读(67) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/songwenlong/p/6517165.html 阅读全文
posted @ 2020-04-08 10:01 尐鱼儿 阅读(102) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/songwenlong/p/5944139.html 阅读全文
posted @ 2020-04-08 09:59 尐鱼儿 阅读(155) 评论(0) 推荐(0) 编辑
摘要:通常情况下,session中最好只保存用户的登陆信息,对于权限可以每次查询判断(用户量不大的情况下).或者定期查询,并放入缓存,进行判断. 对于问题中的情况,可以在更改权限后,立即更新zd用户权限缓存即可. Java Web权限管理设计及实现 https://blog.csdn.net/lpy123 阅读全文
posted @ 2020-04-07 15:59 尐鱼儿 阅读(9744) 评论(1) 推荐(0) 编辑
摘要:我们使用Nginx反相代理,虚拟主机,负载均衡 1.1. 反相代理 反向代理是指以代理服务器来接受internet上的连接请求,然后将请求转发给内部网络上的服务器,并将从服务器上得到的结果返回给internet上请求连接的客户端。此时代理服务器对外就表现为一个反向代理服务器。 1.2. Nginx目 阅读全文
posted @ 2020-04-07 01:53 尐鱼儿 阅读(126) 评论(0) 推荐(0) 编辑
摘要:1.准备好war包 2.准备好:tomcat: 3.传输到linux目录下: 4.解压: 5.重命名war文件、启动tomcat (启动tomcat前要先启动zookeeper)、部署监控中心: 查询tomcat是否已经启动:ps -ef|grep tomcat 部署监控中心,参考命令:[root@ 阅读全文
posted @ 2020-04-07 00:59 尐鱼儿 阅读(201) 评论(0) 推荐(0) 编辑
摘要:1.测试需要先启动zookeeper,再启动服务层,再启动表现层。 如果先启动表现层,后启动服务层,会报错,但是不影响使用。 为了更方便的进行测试,表现层工程和服务层工程属于不同的工程,要debug的时候需要设置源码,如下: Debug设置源代码,涉及到工程都要添加,为了方便,可以添加所有的工程。 阅读全文
posted @ 2020-04-07 00:30 尐鱼儿 阅读(907) 评论(0) 推荐(0) 编辑
摘要:1.新建类ItemController ItemController.java package com.taotao.controller; import org.springframework.beans.factory.annotation.Autowired; import org.sprin 阅读全文
posted @ 2020-04-07 00:08 尐鱼儿 阅读(191) 评论(0) 推荐(0) 编辑
摘要:1.分析页面 2.因为taotao-common被其他子工程共享依赖,所以在这里新建展示数据的POJO类EasyUIDataGridResult如下: 3.POJO类序列化 4.创建接口ItemService ItemService.java package com.taotao.service; 阅读全文
posted @ 2020-04-07 00:00 尐鱼儿 阅读(324) 评论(0) 推荐(0) 编辑
摘要:1.展示首页页面 index.jsp <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 阅读全文
posted @ 2020-04-06 18:48 尐鱼儿 阅读(799) 评论(0) 推荐(0) 编辑
摘要:由于互联网项目要求的效率比较高,所以电商项目的表设计常常有冗余字段(不同的表有相同的字段),因为单表查询比多表查询的效率快、性能好。 1.表 2.通过mybatis的逆向工程生成下面的东东: TbContentCategoryMapper.java package com.taotao.mapper 阅读全文
posted @ 2020-04-06 18:31 尐鱼儿 阅读(277) 评论(0) 推荐(0) 编辑
摘要:1.先maven install一次聚合工程taotao-manager,在本地maven仓库生成一把taotao-manager下面的4个子工程。 2.先启动taotao-manager-web,可能会报如下错,不过没关系。接着启动taotao-manager [INFO] tomcat7-mav 阅读全文
posted @ 2020-04-06 13:16 尐鱼儿 阅读(362) 评论(0) 推荐(0) 编辑
摘要:TestController.java package com.taotao.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotyp 阅读全文
posted @ 2020-04-06 13:09 尐鱼儿 阅读(155) 评论(0) 推荐(0) 编辑
摘要:TestMapper.java package com.taotao.mapper; /** * 测试接口,查询当前的时间 */ public interface TestMapper { public String queryNow(); } TestMapper.xml <?xml versio 阅读全文
posted @ 2020-04-06 12:25 尐鱼儿 阅读(176) 评论(0) 推荐(0) 编辑
摘要:springmvc.xml <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLS 阅读全文
posted @ 2020-04-06 11:54 尐鱼儿 阅读(196) 评论(0) 推荐(0) 编辑
摘要:整合后的结构: SqlMapConfig.xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.or 阅读全文
posted @ 2020-04-06 11:18 尐鱼儿 阅读(209) 评论(0) 推荐(0) 编辑
摘要:先安装taotao-parent工程到本地仓库 再安装taotao-common工程到本地仓库 操作步骤如下: 1.先安装taotao-parent工程到本地仓库 执行成功提示 然后可以看到本地maven仓库中有taotao-parent生成 2.使用tomcat插件启动taotao-manager 阅读全文
posted @ 2020-04-05 17:32 尐鱼儿 阅读(352) 评论(0) 推荐(0) 编辑
摘要:最好在聚合工程(taotao-manager)的pom.xml里配置tomcat的插件。避免出现,当聚合工程下的一个子工程运行需要依赖另一个子工程时,有子工程没有配置tomcat插件的情况出现。 <build> <plugins> <!-- 配置tomcat插件 --> <plugin> <grou 阅读全文
posted @ 2020-04-05 17:04 尐鱼儿 阅读(433) 评论(0) 推荐(0) 编辑
摘要:<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/P 阅读全文
posted @ 2020-04-05 16:56 尐鱼儿 阅读(123) 评论(0) 推荐(0) 编辑
摘要:最常用的1、新建文件-输入"html:xt"后 按"Ctrl+E键"或 "tab键" ,可快速生成xhtml 1.0的模板2、新建文件-输入"html:5"后 按"Ctrl+E键"或 "tab键" ,可快速生成HTML5的模板3、新建文件-输入"!"后 按"Ctrl+E键"或 "tab键" ,可快速 阅读全文
posted @ 2020-04-05 16:46 尐鱼儿 阅读(187) 评论(0) 推荐(0) 编辑
摘要:taotao-manager-web/src/main/webapp/WEB-INF/web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instanc 阅读全文
posted @ 2020-04-05 16:41 尐鱼儿 阅读(163) 评论(0) 推荐(0) 编辑
摘要:<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/P 阅读全文
posted @ 2020-04-05 16:32 尐鱼儿 阅读(112) 评论(0) 推荐(0) 编辑
摘要:<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/P 阅读全文
posted @ 2020-04-05 16:19 尐鱼儿 阅读(141) 评论(0) 推荐(0) 编辑
摘要:<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/P 阅读全文
posted @ 2020-04-05 16:18 尐鱼儿 阅读(142) 评论(0) 推荐(0) 编辑
摘要:<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/P 阅读全文
posted @ 2020-04-05 16:17 尐鱼儿 阅读(116) 评论(0) 推荐(0) 编辑
摘要:<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/P 阅读全文
posted @ 2020-04-05 16:10 尐鱼儿 阅读(153) 评论(0) 推荐(0) 编辑
摘要:<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/P 阅读全文
posted @ 2020-04-05 16:01 尐鱼儿 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-04-05 15:45 尐鱼儿 阅读(97) 评论(0) 推荐(0) 编辑
摘要:<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/P 阅读全文
posted @ 2020-04-05 15:41 尐鱼儿 阅读(246) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/yangjiming/p/9207911.html 阅读全文
posted @ 2020-04-05 13:17 尐鱼儿 阅读(640) 评论(0) 推荐(0) 编辑
摘要:http://www.imooc.com/article/268553 阅读全文
posted @ 2020-04-05 13:15 尐鱼儿 阅读(2167) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示