原创 Hibernate 基礎( 1 ) 基本流程

Hibernate簡單運行測試   1.編寫POJO        Hero.java package xy.po; public class Hero { //提供無參構造器 public Hero() { } //

原创 Spring MVC 項目搭建 -2- 添加service ,dao,junit

1.dao public interface TestDao { public List<Hero> getSomeData(); } @Repository public class TestDaoImpl implements T

原创 AngularJs + angular-ui-router + bootstrap 實現基礎導航欄

index.html <!DOCTYPE html> <html lang="en" style="height:100%"> <head> <meta charset="utf-8"> <meta http-equ

原创 Spring MVC 項目搭建 -1- 創建項目

1.創建 Dynamic Web project (SpringDemo),添加相關jar包 2.創建一個簡單的controller類 package mvc; import org.springframework.stereotyp

原创 swc 應該放置在 external-library-path 中的解決辦法

右鍵項目——>屬性——>framework.swc——> 鏈接類型:使用默認值(合併到代碼中)——> 編輯——>去掉“與框架相同”前面的複選框,“鏈接類型”選擇“外部”——>ok

原创 博客搬家

** Blog 已搬到博客園 ** http://final-elysion.cnblogs.com/

原创 alive pdf 基本用法

<?xml version="1.0" encoding="utf-8"?> <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s

原创 Spring MVC 項目搭建 -3- 快速 添加 spring security

1.添加 spring-sample-security.xml <!-- 簡單的安全檢驗實現 --> <beans:beans xmlns="http://www.springframework.org/schema/security"

原创 JavaScript 語言基礎

語言核心 一 詞法結構 UniCode編碼 區分大小寫(HTML不區分/XHTML區分) Unicode轉義序列 \uxxxx (\u加4位16進製表示) 註釋 // 單行註釋 /* */ 多行註釋 直接量

原创 Less 的使用

開發時直接使用 引用你的樣式文件(main.less),必須在less.min.js  前引用 引用less.min.js 文件 <link href="resources/less/main.less" rel="styleshee

原创 flex sqlite基本用法

頁面 <?xml version="1.0" encoding="utf-8"?> <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" xmln

原创 Spring (3.2.4) 常用jar 包解析

基本jar包 spring-aop-3.2.4.RELEASE.jar spring-aspects-3.2.4.RELEASE.jar spring-beans-3.2.4.RELEASE.jar sp

原创 a different object with the same identifier value was already associated with the session

a different object with the same identifier value was already associated with the session Session 中有存在相同主鍵的實體! 解決方法: 將方

原创 Tomcat配置

運行需要設置環境變量 JAVA_HOME   即JDK安裝目錄 tomcat 默認登錄地址 http://localhost:8080 配置tomcat 1.端口設置  conf\server.xml   67行      修改  po

原创 Eclipse 安裝Ext4.1 的spket插件

1. Eclipse 在線更新Spket插件,   Help->Install new software->add    Location 那填上地址 http://www.agpad.com/update   2.   將