会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
方少520
博客园
首页
新随笔
联系
管理
订阅
2016年6月12日
模仿struts
摘要: StrutsCode文件 package com.util; import java.io.IOException;import java.io.InputStream;import java.lang.reflect.InvocationTargetException;import java.la
阅读全文
posted @ 2016-06-12 15:39 方少520
阅读(113)
评论(0)
推荐(0)
2016年6月2日
jsp右键事件代码
摘要: <div id="mm" class="easyui-menu" style="width: 120px;"> <div onclick="append()" iconcls="icon-add"> 添加节点 </div> <div onclick="removerrr()" iconcls="ic
阅读全文
posted @ 2016-06-02 10:26 方少520
阅读(727)
评论(0)
推荐(0)
2016年5月31日
hibernate 注解
摘要: package com.group.users.entity; import java.io.Serializable; import javax.persistence.Column;import javax.persistence.Entity;import javax.persistence.
阅读全文
posted @ 2016-05-31 17:22 方少520
阅读(119)
评论(0)
推荐(0)
Hibernate的增删改查
摘要: User 包 package com; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistenc
阅读全文
posted @ 2016-05-31 15:26 方少520
阅读(193)
评论(0)
推荐(0)
SSH 验证码
摘要: package com.brgroup.util; import grade.entity.Grade; import java.io.File;import java.text.SimpleDateFormat;import java.util.Date;import java.util.List
阅读全文
posted @ 2016-05-31 15:22 方少520
阅读(198)
评论(0)
推荐(0)
MD5加密
摘要: package com.group.users.util; import java.security.MessageDigest; public class MD5Util { public final static String MD5(String s) { char hexDigits[] =
阅读全文
posted @ 2016-05-31 15:20 方少520
阅读(157)
评论(0)
推荐(0)
applicationContext.xml
摘要: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
阅读全文
posted @ 2016-05-31 15:19 方少520
阅读(108)
评论(0)
推荐(0)
hibernate.cfg.xml
摘要: <?xml version='1.0' encoding='UTF-8'?><!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.so
阅读全文
posted @ 2016-05-31 15:18 方少520
阅读(100)
评论(0)
推荐(0)
struts.xml
摘要: <?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN" "http://struts.apache
阅读全文
posted @ 2016-05-31 15:17 方少520
阅读(97)
评论(0)
推荐(0)
java 登录拦截器
摘要: 首先创建一个FilterServlet类 下面代码 package com.group.users.util; import java.io.IOException; import javax.servlet.Filter;import javax.servlet.FilterChain;impor
阅读全文
posted @ 2016-05-31 15:16 方少520
阅读(1533)
评论(0)
推荐(0)
公告