![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Util
放羊的_小孩
这个作者很懒,什么都没留下…
展开
-
对用户输入数据进行过滤操作的工具类
public class HtmlUtil{ public static String parseHtml(String html) { if(html == null || html.length() == 0) { return ""; } html = html.replace("&", "&")原创 2012-04-20 20:34:47 · 731 阅读 · 0 评论 -
RC4 加密算法 Demo
/** * TODO: * @author liyong * @date 2016年1月18日 上午10:51:35 */ public class RC4Util { public static String decry_RC4(byte[] data, String key) { if (data == null || key == null) {原创 2016-01-22 15:42:05 · 1833 阅读 · 0 评论 -
数据库中对日期对象的转换
public class DateUtil { private static SimpleDateFormat datetimeFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); private static SimpleDateFormat dateFormat = new SimpleDateFormat原创 2012-04-20 20:32:24 · 831 阅读 · 0 评论 -
左右翻,旋转查看图片 绚丽效果
利用JQuery 弹出图层,查看列表图片,可左右翻转,可旋转查看图片。 效果如下: 可左右翻转,旋转图片查看不同效果。 代码实现: 一,引用资源文件: 二、html 代码实现 三、showI原创 2016-03-15 14:32:49 · 964 阅读 · 2 评论 -
ajaxFileUpload 无刷新文件上传
一、无刷新文件上传代码实现: 引用资源文件: 二、实现代码: 上传文件 三、uploadTemp.jsp 实现代码: <% String path = request.getContextPath(); String basePath = request.getScheme()原创 2016-03-15 14:49:53 · 1276 阅读 · 0 评论