Time of Update: 2014-09-12
標籤:http io os 使用 java ar for 檔案 資料 public class upFiles{ private string path =
Time of Update: 2014-09-11
標籤:style blog http color io os 使用 java ar 開發過Web應用的同學應該都會使用session。由於HTTP協議本身是無狀態的,所以一個用戶端多次訪問這個w
Time of Update: 2014-09-11
標籤:style blog color io ar 資料 art div 問題
Time of Update: 2014-09-11
標籤:style blog http color io os ar for 2014 今天要為大家帶來一款html5
Time of Update: 2014-09-11
標籤:js深入學習-回呼函數之代碼複用在js中經常回有一個代碼塊在多個地方重複利用,這種做法不利於代碼的最佳化,同時對於後期人員的維護也是一個麻煩,假如後期人員需要修改重複利用的代碼塊,往往會出現只修改其中一處而導致問題,其實處理很簡單。把重複利用的代碼塊抽出來單獨寫成一個函數。別的地方直接調用這個函數就行了。例如有 兩個函數F1,F2,都會執行代碼塊CODE1,我們可以CODE1封裝成F3, funcitn F1(){F3} funcitn
Time of Update: 2014-09-11
標籤:angularjs jasmine unit test callback 今天寫了一個function,裡面涉及了兩個callback,大概形式為function callbackFunction() {ServiceA.callbackA(data1, function(result1){//success function
Time of Update: 2014-09-12
標籤:style blog color io os ar for div sp function testB () { // body...var isOpera =
Time of Update: 2014-09-12
標籤:http io os 使用 ar for 資料 sp cti $.post( URL,data,callback); 必需的 URL
Time of Update: 2014-09-12
標籤:struts ssh 重構 架構 map 目錄: 【SSH進階之路】Struts基本原理 + 實現簡單登入(二) 【SSH進階之路】一步步重構MVC實現Struts架構——
Time of Update: 2014-09-11
標籤:style blog http color io os 使用 ar strong 一、Position各屬性值詳解 1.
Time of Update: 2014-09-11
標籤:style blog io os 使用 java ar strong 資料 HTML 5 是一個新的網路標準,目標在於取代現有的 HTML 4.01, XHTML 1.0 and DOM
Time of Update: 2014-09-12
Flash Builder4.0運行應用程式報錯,flashbuilder4.01、錯誤描述SecurityError: Error #2148: SWF 檔案 file:///D:/Adobe Flash Builder 4 Installer/HVBox/bin-debug/VHBox.swf 不能訪問本地資源 file:///D:/Adobe Flash Builder 4
Time of Update: 2014-09-12
OA項目之在SSH如下如何?Select跟Radio,oassh1.今天學習了在SSH下如何?頁面前端的Select和Radio,個人感覺很重要在此做筆記,很多地方可以用到。2.首先效果如下利用struts2的標籤來做,首先來看Select:<select name="departmentId" class="SelectStyle"> <option value="0"
Time of Update: 2014-09-12
Javascript 閉包與範圍,javascript範圍 今天來說下javascript的範圍及閉包使用。先說下範圍的概念,各種開發語音都會遇到變數的生命週期,使用範圍,使用範圍其實就是變數的範圍,字面意思理解就是這個變數在那段代碼區間內有效。1、.Javascript的範圍是函數範圍而非塊級範圍,看代碼: (function(){ var i=1; if(i==1){
Time of Update: 2014-09-11
JSP用過濾器解決request中文亂碼問題,jsprequest(1)用戶端的資料一般是通過HTTP GET/POST方式提交給伺服器,在伺服器端用request.getParameter()讀取參數時,很容易出現中文亂碼現象。(2)用過濾器解決request中文亂碼問題。(3)代碼如下:package my;import java.io.*;import javax.servlet.*;import javax.servlet.http.*;public class
Time of Update: 2014-09-11
HTML5實作類別似刮刮卡的功能,html5實現刮刮卡HTML5實作類別似刮刮卡的功能有這樣一個功能,當我們使用公眾號,發送圖片時......此處省略300字!注意要點設定:1.設定使用者縮放:user-scalable=no|yes<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1,
Time of Update: 2014-09-11
[ACM] zoj 3818 Pretty Poem (2014 ACMICPC Regional 牡丹江站網路賽 J題),zojacmicpcPretty PoemTime Limit: 2 Seconds Memory Limit: 65536 KBPoetry is a form of literature that uses aesthetic and rhythmic qualities of
Time of Update: 2014-09-11
Android開發系列(四):如何對應用進行單元測試,android單元測試在開發一個應用的過程中,必不可少要進行對應的單元測試。接下來我們編寫一個簡單的Android應用程式來完成基礎的單元測試首先,我們需要建立一個Android Project項目,命名為junit。然後,建立一個服務類,就是需要被測試的類PersonService.java:package cn.itcast.service;public class PersonService {public void
Time of Update: 2014-09-11
Erlang:RabbitMQ源碼分析 3. supervisor和supervisor2深入分析,supervisorsupervisor也是Erlang/OTP裡一個常用的behavior,用於構建supervisor
Time of Update: 2014-09-11
HDOJ 4915 Multiplication table,hdoj4915可以特判出0和1,再統計每行出現了多少種十位上的數就可以了....沒有考慮2的情況似乎也過了......Multiplication tableTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s):