原创 hibernate配置二級緩存出現的問題

(1)解決方案:少了commons-logging-1.1.1.jar這個包了 Exception in thread "main" java.lang.ExceptionInInitializerError at cn.sjg.h

原创 org.springframework.beans.factory.BeanCreationException

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in clas

原创 js 問題

1. head... <script> alert(document.getElementById("xx")); </script> body.... <label id="xx">yy</

原创 org.apache.jasper.JasperException: Unable to compile class for JSP:

轉至:http://saber5d.blog.163.com/blog/static/1279987782010119113746918/ type Exception reportmessage description The serv

原创 javax.crypto.BadPaddingException: Data must start with zero

INFO [localhost-startStop-1] [2013-04-08 16:05:24,296] (org.hibernate.connection.ConnectionProviderFactory) - Initiali

原创 博客搬家

博客搬家,謝謝支持。

原创 MSSQL2005 安裝時 “性能監視器計數器要求(錯誤)” 解決方案

在 “開始” -->  “運行”中輸入 regedit,開啓註冊表編輯器。定位到[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib處,在右邊的樹

原创 jquery getJSON從action獲取json格式數據

1.struts配置中定義一個getJSON訪問的action, 2.建立action success返回的頁面,頁面中定義格式要與json格式一樣,比如 { "name":"name", "list":[{"name"

原创 jboss 使用本地ip不能訪問

jboss目錄\standalone\configuration\standalone.xml 287行 <interfaces> <interface name="management">

原创 博客搬家

博客搬家,謝謝支持。

原创 jsp Attribute qualified names must be unique within an element

jsp頁面報: org.apache.jasper.JasperException: /XXX/XXX.jsp Attribute qualified names must be unique within

原创 Access restriction: The type * is not accessible due to restrict

報錯信息:Access restriction: The type TaskTopicResolver is not accessible due to restriction on required library NC_DEMO/NC

原创 It's a mark for satelite map

google map: 1.for love:51°36'26.20"N 2°23'11.90"W

原创 致諸位新程序員

  看起來我的兒女們都不適合做程序員。爲了不讓這份原本爲我的新程序員兒子或女兒準備的慈父般的忠告功虧一簣,我打算把這份忠告強加於你。要是你剛踏上成爲一名程序員的旅途,這裏的建議也許你的父親告訴過你,如果他也是程序員的話。這是一些我歷經艱辛

原创 JS實現Trim()

轉至:http://www.cnblogs.com/qixuejia/archive/2010/08/11/1797523.html   //js去除空格函數//此處爲string類添加三個成員String.prototype.T