上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 47 下一页
摘要: 在pom.xml中,aspectjweaver.jar版本指定过低,改成一个高版本即可。 阅读全文
posted @ 2020-03-10 22:21 huiy_小溪 阅读(2567) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?> <!-- 日志级别从低到高分为TRACE < DEBUG < INFO < WARN < ERROR < FATAL,如果设置为WARN,则低于WARN的信息都不会输出 --> <!-- scan:当此属性设置为true时 阅读全文
posted @ 2020-03-10 14:07 huiy_小溪 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 背景说明:在tomcat中发布应用,最简单的办法就是放在webapps中,简单省事!但是也有弊端,就是如果其下有多个应用,那么我们不得不加上应用名称,这就有点不方便了。现在经常用nginx做前端,反向代理到tomcat,用域名直接访问应用,省略tomcat端口及应用名称。这个时候就需要我们在一个to 阅读全文
posted @ 2020-03-10 10:53 huiy_小溪 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 不同项目开发时,其基础的组件很可能是一样的,例如springboot,数据库连接池,驱动等等。如果把这些相同的JAR在tomcat中共享,这样既可以节约内存,也可以减少各应用的大小。我用的是Tomcat9,各版本差别不大。具体做法:1.catalina.properties蓝色部分就是需要修改的部分 阅读全文
posted @ 2020-03-10 10:34 huiy_小溪 阅读(808) 评论(0) 推荐(0) 编辑
摘要: // 等比例缩放 var bili = 1; if (imgWidth > imgHeight && imgWidth > 400) { bili = imgWidth / 400; imgWidth = 400; imgHeight = imgHeight / bili; } else if (i 阅读全文
posted @ 2020-03-02 15:36 huiy_小溪 阅读(256) 评论(0) 推荐(0) 编辑
摘要: @SuppressWarnings("rawtypes") @Bean public CacheManager cacheManager(RedisTemplate redisTemplate, ConfigApp configApp) { RedisCacheManager redisCacheM 阅读全文
posted @ 2020-03-02 15:34 huiy_小溪 阅读(5051) 评论(0) 推荐(0) 编辑
摘要: 参考网址:https://www.cnblogs.com/james641/p/5897259.html1.丢弃小数部分,保留整数部分 parseInt(7/2) 2.向上取整,有小数就整数部分加1 Math.ceil(7/2) 3,四舍五入. Math.round(7/2) 4,向下取整 Math 阅读全文
posted @ 2020-02-20 09:44 huiy_小溪 阅读(1087) 评论(0) 推荐(0) 编辑
摘要: 1. 父子选择器 <div data-tab-panel-0 class="am-tab-panel am-active"> <div class="news_banner"> </div> <div class="news_li"> </div> </div> 需要选择class为news_li的 阅读全文
posted @ 2020-02-20 09:03 huiy_小溪 阅读(1623) 评论(0) 推荐(0) 编辑
摘要: $(location).attr('href', '/index'); 阅读全文
posted @ 2020-02-20 08:57 huiy_小溪 阅读(162) 评论(0) 推荐(0) 编辑
摘要: $(".state").click(function() { var val=$(this).attr("id"); alert(val); }); $("#tbody td").click(function() { //这时能够获得正确的被点击对象 var tdID = $(this).attr( 阅读全文
posted @ 2020-02-20 08:50 huiy_小溪 阅读(3605) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 47 下一页