Snowfun

导航

 
上一页 1 ··· 55 56 57 58 59 60 61 62 63 ··· 65 下一页

2010年12月22日

摘要: 圖片:showModalDialog1.jpg、showModalDialog2.jpgdefault.aspxhead titledefault.aspx/title link href="StyleSheet.css" type="text/css" rel="stylesheet"/ script type="text/javascript" language="javascript" function showIssue() { window.showModalDialog("GoodsMange/Issue.aspx", "", "dialogWidth:800p 阅读全文
posted @ 2010-12-22 22:33 Snowfun 阅读(1774) 评论(0) 推荐(0) 编辑
 

2010年12月20日

摘要: 1. 静态页面的乱码问题文件的编码和浏览器要显示的编码不一致。1) 检查文件原始的编码, 可以用记事本打开, 然后选择另存为来看;2) 给当前页面加入一个指令来建议浏览器用指定的编码来显示文件字符内容.meta http-equiv="content-type" content="text/html; charset=GBK"3) 如果系统是英文XP,没装东亚字符集支持, 也会显示乱码.2. JSP 页面的乱码问题1) page 指令有个 pageEncoding="GBK" 这个会指定当前页面保存的编码, 如果写成ISO8859-1 就不能保存汉字;2) page 指令的 content 阅读全文
posted @ 2010-12-20 16:37 Snowfun 阅读(582) 评论(0) 推荐(0) 编辑
 
该文被密码保护。 阅读全文
posted @ 2010-12-20 16:34 Snowfun 阅读(0) 评论(0) 推荐(0) 编辑
 
摘要: Hibernate開發指南(中文)http://www.xiaxin.net/Spring_Dev_Guide.rarHibernate中文參考手冊http://www.redsaga.com/hibernate-ref/3.2/pdf/hibernate_reference.pdfHTML格式 http://www.redsaga.com/hibernate-ref/3.2/html/index.html单个网页格式http://www.redsaga.com/hibernate-ref/3.2/html_single/index.html 阅读全文
posted @ 2010-12-20 10:03 Snowfun 阅读(105) 评论(0) 推荐(0) 编辑
 
该文被密码保护。 阅读全文
posted @ 2010-12-20 09:55 Snowfun 阅读(1) 评论(0) 推荐(0) 编辑
 
该文被密码保护。 阅读全文
posted @ 2010-12-20 09:00 Snowfun 阅读(5) 评论(0) 推荐(0) 编辑
 

2010年12月17日

摘要: 引起问题的原因:就是那个由Hibernate根据数据库表自动生成的"类名.hbm.xml"映射文件引起的。首先我的表(Info)由两个字段组成,即:int id;//主建String name;(自己做测试,所以就简单的建了个表)由Hibernate生成的Info.hbm.xml中是这样写的:-----------------------------------------------------id name="id" type="java.lang.Integer" column name="id" / generator class="assigned"//id----- 阅读全文
posted @ 2010-12-17 15:15 Snowfun 阅读(403) 评论(0) 推荐(0) 编辑
 
摘要: java.lang.AbstractMethodError: com.microsoft.jdbc.base.BaseDatabaseMetaData.supportsGetGeneratedKeys()Zlog4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).log4j:WARN Please initialize the log4j system properly.Exception in thread "main" java.lang.AbstractMetho 阅读全文
posted @ 2010-12-17 13:53 Snowfun 阅读(18324) 评论(1) 推荐(1) 编辑
 

2010年12月16日

该文被密码保护。 阅读全文
posted @ 2010-12-16 11:18 Snowfun 阅读(0) 评论(0) 推荐(0) 编辑
 
该文被密码保护。 阅读全文
posted @ 2010-12-16 11:10 Snowfun 阅读(0) 评论(0) 推荐(0) 编辑
 
上一页 1 ··· 55 56 57 58 59 60 61 62 63 ··· 65 下一页