自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 dwz框架dialog提交并刷新列表

http://note.youdao.com/noteshare?id=64b132c4c56af820ad503bfb79f728fc

2016-11-13 22:06:11 1286

转载 【js】设为首页和收藏本站

//加入收藏         function AddFavorite(sURL, sTitle) {             sURL = encodeURI(sURL);         try{                window.external.addFavorite(sURL, sTitle);            }catch(e) {

2016-03-24 10:48:21 420

转载 SSH自动注入对象中对象为空。com.sun.jdi.InvocationException occurred invoking method

调试时候出现com.sun.jdi.InvocationException occurred invoking method原因:因为hibernate的延迟加载引起修改:修改hbm映射文件的对象映射lazy="false"

2015-11-29 16:23:23 5256

原创 Javassist Enhancement failed: model.AttendType; nested exception is org.hibernate.HibernateException

Javassist Enhancement failed: model.AttendType; nested exception is org.hibernate.HibernateException: Javassist Enhancement failed: model.AttendTypemodel中没有无参构造函数。添加上去就好了

2015-11-27 16:35:05 358

原创 使用Struts2简单的基本文件上传下载实现

1.首先创建一个web项目2.使用myeclipse自带的功能配置成struts项目代码开始首先是下载页面代码<%String path = request.getContextPath();String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPo

2015-11-26 16:46:13 264

原创 简单使用Struts2 实现上传下载功能

1.首先创建一个web项目2.使用myeclipse自带的功能配置成struts项目代码开始首先是下载页面代码<%String path = request.getContextPath();String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort

2015-11-26 16:37:51 430

原创 SSH Spring无法注入的问题

struts设置中如果设置成spring托管 ,那么class中必须设置成bean名而不是路径下的class名 /main.jsp /login.jsp /login.jsp /main.jsp /main.jsp

2015-11-22 22:10:29 336

原创 SSH留言板 com.sun.jersey.api.container.ContainerException 错误

严重: StandardWrapper.Throwablecom.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes. at com.sun.jersey.server.impl.application.RootRe

2015-11-22 18:18:50 1473

原创 Exception in thread "main" java.lang.NoSuchMethodError: javax.persistence.Table.indexes()[Ljavax/per

1.model层package model;import javax.persistence.Column;import javax.persistence.Entity;import javax.persistence.GeneratedValue;import javax.persistence.Id;import javax.persistence.Table;impor

2015-11-14 19:56:40 1808

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除