代码片段
风自扬
这个作者很懒,什么都没留下…
展开
-
case when用法
提问:select case salary when 5000 then '高薪' when 4500 then '中薪' when 3500 then '中低薪' else 'null' end as '工资等级' from telenolist我想统计各个工资级别的人数原创 2017-08-09 09:41:16 · 523 阅读 · 2 评论 -
js版日历控件
js版日历控件多的不能再多了,但My97DatePicker是我见到的最好用的一个了,使用超简单,有详细的使用说明,用下就知道它就是你想要的......,还等什么,去看看吧www.my97.net/dp/index.asp http://www.my97.net/dp/index.asp原创 2017-08-09 09:39:03 · 219 阅读 · 0 评论 -
CLASS版本检测
因为之前在试用jxl的时候,下载jexcelapi_2_6_12.zip运行报java.lang.UnsupportedClassVersionError,怀疑是jar的版本太高,但是通过MENIFEST.MF“Created-By: 11.0-b15 (Sun Microsystems Inc.)”这类信息,所以特编写一个类版本检测工具:1、相关代码如下:import java.io.D原创 2017-08-09 09:36:40 · 162 阅读 · 0 评论 -
filter来处理乱码问题
package sino.person.web.filter;import java.io.IOException;import java.util.Enumeration;import javax.servlet.Filter;import javax.servlet.FilterChain;import javax.servlet.FilterConfig;im原创 2017-08-09 09:36:05 · 89 阅读 · 0 评论 -
读取java配置文件
package com.io.study;import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.FileOutputStream;import java.util.Properties;public class TestProperties { //原创 2017-08-09 09:34:54 · 277 阅读 · 0 评论