06 2017 档案
摘要:(1)HTML界面统一采用UTF-8; (2)Servlet 中设置 request.setCharacterEncoding("UTF-8"); (3)使用Tomcat7; 但是,在Servlet中打印接收客户端传递的中文参数还是中文乱码,然后通过修改Tomcat中 server.xml <Con
阅读全文
摘要:1:build.gradle 2:idea安装lombok插件 3:设置 4:重启
阅读全文
摘要:运行之后控制台输出“Unregistering JMX-exposed beans on shutdown”原因为:SpringBoot内置Tomcat没有正常启动,加入spring-boot-starter-web依赖 compile('org.springframework.boot:spring-boot-starter-web')
阅读全文
摘要:public static void main(String[] args) { List list = new ArrayList();//节假日列表,正式环境中根据日期条件从数据库中获取 list.add("2017-06-24"); list.add("2017-06-25"); list.add("2017-07-01")...
阅读全文
摘要:前提:在法定节日表(t_fdjr )中维护法定节日包括周六周天
阅读全文
摘要:1:Excel格式 2:ExcelUtil.java 3:测试 4:依赖包 commons-io-2.4.jar poi-3.15.jar
阅读全文
摘要:package com.microwisdom.utils; import java.security.NoSuchAlgorithmException; import java.security.SecureRandom; import java.util.logging.Level; import java.util.logging.Logger; import javax.crypto....
阅读全文
摘要:G:\Soft\python\word_cloud-master>python setup.py install error: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27 本机已经安装了VS20
阅读全文
摘要:static void Main(string[] args) { new ConsoleCtrl(); Console.Read(); } class ConsoleCtrl { [DllImport("User32.dll", EntryPoint = "FindWind...
阅读全文