Time of Update: 2014-09-21
標籤:java netty netty4 網路編程 最近使用netty-4.0.23.Final
Time of Update: 2014-09-21
標籤:des style http color io 使用 java ar for web.xml學名叫部署描述符檔案,是在Servlet規範中定義的,是web應用的設定檔。<descri
Time of Update: 2014-09-21
標籤:使用 sp on c html amp ef r htm 1、插入一副圖<img src="/i/eg_mouse.jpg" width="128" height="128"
Time of Update: 2014-09-21
標籤:style blog color io ar for div art sp ‘==================================================
Time of Update: 2014-09-21
標籤:style http io os 使用 java ar for sp TextBox.MaxLength 屬性擷取或設定文字框中最多允許的字元數文字框中最多允許的字元數。預設值為
Time of Update: 2014-09-20
標籤:style blog http io os 使用 ar 2014 div 基本思路:使用定時器讓物體向右運動,在運動的過程中再不是勻速運動,而是先快後慢,即距離越大,速度越快,距離越小,速
Time of Update: 2014-09-21
標籤:style http io os for sp 問題 cti log 一. JSP/Servlet 中路勁問題1.伺服器端的地址:
Time of Update: 2014-09-20
標籤:blog http io os java ar for 資料 2014 var provinceCode = '';
Time of Update: 2014-09-20
標籤:style blog http io 使用 ar strong div sp by zhangxinxu from http://www.zhangxinxu
Time of Update: 2014-09-21
JavaScript中的prototype,prototype1、prototype在JavaScript中並沒有類的概念,但JavaScript中的確可以實現重載,多態,繼承。這些實現其實方法都可以用JavaScript中的引用和變數範圍結合prototype來解釋。2、Simple Examplevar Blog = function( name, url ){ this.name = name; this.url = url;};Blog.prototype.jumpurl =
Time of Update: 2014-09-21
buffalo之hello
Time of Update: 2014-09-21
資料庫與Excel報表的動態產生,excel報表動態一.資料庫與Excel報表的動態產生(1)讀取資料庫的資料動態產生Excel報表,這是JSP應用中常遇到的問題,本節採用的基本方法是:在Excel工作薄中,將報表範本製作在第一張工作表中,從資料庫中讀取資料,利用POI組件複製模板工作表而得到一張新的工作表,將查詢資料填寫到新的工作表中。 (2)
Time of Update: 2014-09-21
JDBC交易處理,jdbc事務一、JDBC事務(1)事務是作為單個邏輯工作單元執行的一系列操作。(2)事務維護了資料的完整性、正確語義、持久性。事務中的所有SQL語句必須被成功執行,則事務才會對資料庫產生持久性的影響,如果事務中的第n條語句執行出錯,表示事務運行失敗,則前面的n-1條語句對資料庫產生的影響可以撤銷(復原)到事務執行前的初始狀態或出錯點之前的某個正確狀態。 (3)JDBC在預設情況下,使用事務自動認可模式,它將接收到的每一條SQL操作當作一個事務提交給資料庫伺服器處理。如
Time of Update: 2014-09-21
poj2488--A Knight's Journey(dfs,騎士問題),poj2488--adfsA Knight's JourneyTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 31147 Accepted: 10655DescriptionBackground The knight is getting bored of seeing
Time of Update: 2014-09-21
2進程之間的關係:進程組,會話,守護進程,會話守護進程1進程組一個或過個進程的集合,進程組ID是一個正整數。用來獲得當前進程組ID的函數。pid_t getpgid(pid_t pid)pid_t
Time of Update: 2014-09-21
iOS
Time of Update: 2014-09-21
IOS演算法(五)之折半尋找,ios演算法折半尋找二分尋找又稱折半尋找,優點是比較次數少,尋找速度快,平均效能好;其缺點是要求待查表為有序表,且插入刪除困難。因此,折半尋找方法適用於不經常變動而尋找頻繁的有序列表。折半尋找法的兩種實現折半尋找法思想:在有序表中,把待尋找資料值與尋找範圍的中間元素值進行比較,會有三種情況出現:1) 待尋找資料值與中間元素值正好相等,則放回中間元素
Time of Update: 2014-09-21
Java解析HTML標籤Tag,java解析tagimport java.util.HashMap;import java.util.Map;public class TagParser {private Integer index = 0;private char[] tagChar;private int position = 0;/* 解析符號 */private char symbol = '"';public static final String
Time of Update: 2014-09-21
sizeToFit的用法,sizeToFit用法首先解釋一下sizeToFit:意思是 當前視圖邊界和邊界大小變化。(自動根據文本的長度改變自身的長度):Demo:- (void)sizeToFitDemo{ UILabel * label = [[UILabel alloc] initWithFrame:CGRectMake(10,100, 50, 40)];
Time of Update: 2014-09-21
poj 1679 The Unique MST,次小產生樹,pojmst次小產生樹求最小產生樹時,用數組Max[i][j]來表示MST中i到j的最大邊權。求完後,直接枚舉所有不在MST中的邊,替換掉最大邊權的邊,更新答案。#include <cstdio>#include <cstring>#include <algorithm>using namespace std;const int maxn = 110;const int INF = 1e9;bool