上一页 1 2 3 4 5 6 7 ··· 46 下一页
摘要: public String getHeadUrl(HttpServletRequest request) { String projName=request.getContextPath(); String netPort=request.getRequestURL().toString().spl 阅读全文
posted @ 2020-09-09 15:27 Lost blog 阅读(315) 评论(0) 推荐(0)
摘要: 第一种: StringBuffer sbuf = new StringBuffer(); InputStream is = new FileInputStream(fileName); BufferedReader reader = new BufferedReader(new InputStrea 阅读全文
posted @ 2020-09-04 11:55 Lost blog 阅读(1470) 评论(0) 推荐(0)
摘要: Test: package cn.eshore.dataCenter.test; public class Test2 { public static void main(String[] args) { Test3 test3=new Test3(); Thread t1 = new Thread 阅读全文
posted @ 2020-08-31 18:14 Lost blog 阅读(126) 评论(0) 推荐(0)
摘要: 修改catalina.sh,在cygwin=false前增加一行 # OS specific support. $var _must_ be set to either true or false. JAVA_OPTS="-Xms200m -Xmx512m -Xss1024K -XX:PermSiz 阅读全文
posted @ 2020-08-31 16:36 Lost blog 阅读(2360) 评论(0) 推荐(0)
摘要: 配置: application.yml spring: datasource: ####写数据源 update: jdbc-url: jdbc:mysql://192.168.100.150:8066/test driver-class-name: com.mysql.jdbc.Driver use 阅读全文
posted @ 2020-08-17 18:32 Lost blog 阅读(1149) 评论(0) 推荐(0)
摘要: 转载来源:微信公众号:业余草 前言 本篇主要讲述是Java中JDK1.8的一些新语法特性使用,主要是Lambda、Stream和LocalDate日期的一些使用讲解。 Lambda Lambda介绍 Lambda 表达式(lambda expression)是一个匿名函数,Lambda表达式基于数学 阅读全文
posted @ 2020-08-14 15:00 Lost blog 阅读(299) 评论(0) 推荐(1)
摘要: tomcat 中jsp不会乱码 但是html中文会乱码原因有好几个:没有设置页面编码 tomcat的配置不正确 文件保存的编码格式不是utf-8 等等 下面来讨论解决办法 html页面设置为 utf-8 在页面头部添加<meta>标签 tomcat的server.xml配置 (1) 添加 URIEn 阅读全文
posted @ 2020-06-29 18:55 Lost blog 阅读(3694) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-06-29 18:23 Lost blog 阅读(356) 评论(0) 推荐(0)
摘要: java 反编译工具: jd-gui:http://java-decompiler.github.io luyten:https://github.com/deathmarine/Luyten/releases 阅读全文
posted @ 2020-06-24 17:22 Lost blog 阅读(273) 评论(0) 推荐(0)
摘要: #查询是否死锁select object_name,machine,s.sid,s.serial# from v$locked_object l,dba_objects o ,v$session s where l.object_id = o.object_id and l.session_id=s 阅读全文
posted @ 2020-06-20 16:53 Lost blog 阅读(223) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 46 下一页