Time of Update: 2018-12-05
環境:Windows 2003伺服器,可能需要運行多個ASP,JSP網站。如: asp1asp2jsp1jsp2 在E盤建立www目錄,用以放置網站檔案,以上四個網站的目錄如下: e:/www/asp1e:/www/asp2e:/www/jsp1e:/www/jsp2 1、ASP網站的安裝 將檔案複製到asp1,asp2下,建立相應的網站,設定主機頭,簡單2、JSP網站的安裝2.1、安裝JDK 下載JDK1.5,安裝,簡單。2.2、下載resin 我下的是3.1.3,:http://
Time of Update: 2018-12-05
使用SWT/JFace開發的幾大好處1、Java語言及其生態群落的優勢2、Java開發人才的優勢3、跨平台運行4、各平台下優秀的效能。以下是開發環境和工具選型參考一、作業系統Window 7Ubuntu 10 + desktop二、庫包1.JDK
Time of Update: 2018-12-05
總是看到這個詞,以前見過解釋,忘記了,今天google了下,再blog一下,加深印象:DPOJO我所看到過的POJO全稱有兩個,Plain Ordinary Java Object,Plain Old Java Object,兩個差不多,意思都是普通的Java類,所以也不用去管誰對誰錯。POJO可以看做是簡單的JavaBean(具有一系列Getter,Setter方法的類)。嚴格區分這裡面的概念沒有太大意義,瞭解一下就行。
Time of Update: 2018-12-05
# Properties file with JDBC-related settings.########### HSQLDB ############jdbc.driverClassName=org.hsqldb.jdbcDriver#jdbc.url=jdbc:hsqldb:hsql://localhost:9001/bookstore
Time of Update: 2018-12-05
好用的SimpleJdbcDaoSupport 及 SimpleJdbcTemplate,已經在3.1中被廢棄原因是JdbcDaoSupport 或NamedParameterJdbcDaoSupport已經提供了其所有功能請看原始碼:/** * Extension of {@link org.springframework.jdbc.core.support.JdbcDaoSupport} * that exposes a {@link #getSimpleJdbcTemplate()
Time of Update: 2018-12-05
==========================cd C:/Program FilesOracle/VirtualBox/VBoxManage.exe internalcommands setvdiuuid E:/VirtualBox/HardDisks/UbuntuServer10x64_WS51.vdi Ubuntu修改電腦名稱sudo vi /etc/hostssudo vi /etc/hostname #修改網卡sudo vi /etc/network/interfaces #
Time of Update: 2018-12-05
http://www.jeasyui.com/download/v13.php修正了一些bug,做了一些增強Current Version: 1.3ChangeLogBugcombogrid: When set to 'remote' query mode, the 'queryParams' parameters can't be sent to server. fixed.combotree: The tree nodes on drop-down panel can not be
Time of Update: 2018-12-05
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1"> <c:set var="recordCount" value="0" />><!-- 記錄總數 --> <c:set var="columnCount" value="4" /><!-- 4例 --> <fmt:formatNumber var="columnPe
Time of Update: 2018-12-05
Ubuntu好象好象已經不能通過改source.list來apt-get install sun-java-jdk6了裸裝吧!一、下載http://www.oracle.com/technetwork/java/javase/downloads/index.html下載二進位版本jdk-xxx-linux-x64.bin,如果是Redhat系,可以下載rpm.bin版二、處理sudo mkdir /usr/lib/jvm/javasudo mv cp
Time of Update: 2018-12-05
最近在學習ibatis,真是很不錯的東西。 目前已經是 apache下的開源項目。不但有for java版本,甚至有for .net ,for ruby的版本。ibaits將sql映射成對象。和hibernate的orm不同。非常靈活,學習曲線非常低,以下是一些中文資源一、官方網站:http://ibatis.apache.org/二、中文資源 IBatis2 開發指南 原創 Xiaxin(夏昕) 48頁,319K Chinese PDF SQL Maps for Java,
Time of Update: 2018-12-05
軟體:firefox14 chrome 20, ie9硬體及環境:電腦型號 微星 MS-7788 台式電腦作業系統 Windows 7 旗艦版 32位 SP1 ( DirectX 11 )處理器 英特爾 Core i3-2120 @ 3.30GHz 雙核主板 微星 H61M-P31 (G3) (MS-7788) (英特爾 H61 晶片集)記憶體 4 GB ( 金士頓 DDR3 1333MHz )主硬碟 西數 WDC WD5000AAKX-001CA0 ( 500 GB / 7200 轉/分
Time of Update: 2018-12-05
/** * @author http://blog.csdn.net/kimsoft * @version 2011-12-19 */public class Person {private String userName;private String user_name;private String usName;private String uName;private String Name;private String UName;//最規範的//不會出問題//推薦+++++public
Time of Update: 2018-12-05
文章目錄 What Does "ibatis" Mean?How do you pronounce iBATIS? What Does "ibatis" Mean?Today, the word "ibatis" is synonymous with the SQL Maps and the DAO frameworks --much like "xerox" is synonymous with "photocopy". But
Time of Update: 2018-12-05
資料列表:源碼下載:http://code.google.com/p/flexpaper/官方文檔:http://flexpaper.devaldi.com/docs.htmSWF工具下載:http://www.swftools.org/download.html 1、將PDF圖片等轉換成SWF(SWF Tools)下載http://www.swftools.org/swftools-0.9.1.exe後安裝到C:\Program
Time of Update: 2018-12-05
ConnectionFac I J2CA0122I: 無法定位資源引用 jdbc/DSName,因此使用下列預設值:[Resource-ref settings] res-auth: 1 (APPLICATION) res-isolation-level: 0 (TRANSACTION_NONE) res-sharing-scope: true (SHAREABLE) res-resolution-control: 999
Time of Update: 2018-12-05
情境:一個樹型結構的資料在資料庫裡映射為對象Tree(id, name, url....), Tree添加了一個自描述的屬性List<Tree> children從資料庫中根據根節點,遞迴出樹結構放到List<Tree> treeList中,現在要求在顯示中按層級顯示:問題:因為未知樹的層級是多少,JSTL中又不支援函數遞迴。解決方案:使用檔案包括的形式的解決,雖然不太優雅,但是總算實現了。知識預備:JSTL c標籤的用法,c:forEach,
Time of Update: 2018-12-05
以前一直用slf4j+logback作為應用程式的日誌組件,部署時,將日誌輸入到檔案,以備檢視。<?xml version="1.0" encoding="UTF-8"?><configuration><appender name="file" class="ch.qos.logback.core.rolling.RollingFileAppender"><file>bau.log</file><rollingPolicy
Time of Update: 2018-12-05
METHOD: Function::apply --------------------------------------------------------------------------------Function.apply(thisObj[, argArray]) apply 方法允許調用某一個對象的一個方法,並且用指定的一個對象替換當前的對象.參數 thisObj 可選項。將被用作當前對象的對象。 argArray 可選項。將被傳遞給該函數的參數數組。The
Time of Update: 2018-12-05
struts1.x 有個 tag <html:xhtml />使用後會使 struts 標籤產生符合 xhtml 規範的 html 代碼。但同時會引起一些問題:就是產生的form 只有id屬性,沒有name屬性。導致document.xxxForm這樣的script文法出錯,解決方案有二種。第一種:去掉<html:xhtml />標籤,繼續用document.xxxForm這樣的script文法。第二種:不去掉 <html:xhtml
Time of Update: 2018-12-05
A girl wants to kiss a boy.The girl's name is Daisy Anne O'Leary (DAO). She has red hair.The boy's name Ed (it's my example), he has a swimming pool (filled with database connections). In our current approach (Service Locator/Singleton)..., Daisy