摘要:
查询数据库中的所使用的字符集 SHOW VARIABLES LIKE 'CHARACTER%' 设置数据库的字符编码集 URL=jdbc:mysql://127.0.0.1:3306/user?characterEncoding=utf8 今天添加数据到数据库,刚好就碰到了中文乱码,将eclipse 阅读全文
摘要:
今天闲来无事,就重新研究了一下Servlet,想着以前读取路径用的方法是: 先创建一个读取文件的输入流 public static final String configFile="dbcp.properties"; InputStream is = new InputStream(new File 阅读全文