Time of Update: 2014-12-19
標籤:要使用.NET內建的JSON處理工具需要引用下面的命名空間:using System.Web.Script.Serialization;1.編碼 myConfig mc = new myConfig(); mc.config = "測試"; mc.info = "還不錯"; JavaScriptSerializer json = new JavaScriptSerializer(); object result = json.Serialize(mc);
Time of Update: 2014-12-19
標籤:為什麼要URL重寫?1、有利於SEO,帶參數的URL權重較低; 2、地址看起來更正規,推廣uid偽靜態:看起來像普通頁面,而非動態產生的頁面。 原理:在Global.asax的Application_BeginRequest 中讀取Request.Url 得到請求的URL(View-3.aspx)
Time of Update: 2014-12-20
標籤:如果測試的Web應用系統使用URL回寫而非Cookie來儲存會話資訊,那麼測試人員需要做一些額外的工作來測試web網站為了正確回應URL回寫,JMeter需要解析從伺服器收到的HTML,並得到唯一的會話ID。測試人員需要使用合適的HTTP URL回寫修改器來完成這一點。測試人員只需簡單地講會話ID參數的名稱放入修改器中,修改器就會找到會話ID,並將其放入每個請求之中。如果請求之中已經有了會話ID,那麼它就會被替換掉。如果選中了“Cache Session
Time of Update: 2014-12-18
標籤:style http ar io os sp for java on 方法一(只針對IE且用戶端的IE允許AcitiveX運行,通過平台:XP,SERVER03,2000):擷取用戶端IP
Time of Update: 2014-12-18
標籤:blog http io os 使用 sp for java on 當我們用javascript寫ajax程式寫得很“開心”的時候,突然有人告訴你有一種東西叫jqu
Time of Update: 2014-12-19
標籤:html css.select_box{ float: left;}.select_box input{ width: 160px; height: 30px; text-align: center; font-size: 18px; color: #444;}.select_ul{ font-size: 14px; text-align: center; border: 1px solid #D2D3D3;}.select_ul li{ height: 50
Time of Update: 2014-12-19
標籤:平時寫程式時都是在伺服器已經搭建好的PHP環境進行的。出於對未知知識的好奇,這幾天在自己的機器上搭建起了PHP開發環境。本想輕鬆順利的看到phpinfo顯示在我的頁面上,沒想到安裝環境時一路的error,不停的
Time of Update: 2014-12-18
標籤:style blog http ar io color os sp for 外掛程式:http://www.trendskitchens.co.nz/jquery/contextmenu/
Time of Update: 2014-12-19
標籤:style blog http ar io color os sp for 傳送門:http://acm.hdu.edu.cn/showproblem.php?pid=1045題意:4.X
Time of Update: 2014-12-19
標籤:我之前寫過一篇部落格,介紹緩衝處理的三種方式,其中最難,最麻煩,最占記憶體資源的還是圖片緩衝,最近做的項目有大量的圖片處理,還是採用了SDWebImage來處理,但是發現之前封裝好的代碼報錯了。研究發現,是我用了新版的SDWebImage,好多方法都變了。現在把代碼貼出來,供大家參考。尤其是新手,看完這篇部落格,圖片緩衝so
Time of Update: 2014-12-18
標籤:style ar 使用 sp strong on div 問題 bs 關於 jQuery 檢查 checkbox 是否選中的問題。 把某個Web網頁, 移植到手機網頁上面。使用
Time of Update: 2014-12-18
標籤:使用 sp 資料 div 問題 bs as 時間 工作 什麼是A/B測試?A / B測試,即你設計的頁面有兩個版本(A和B),A為現行的設計,
Time of Update: 2014-12-18
標籤:style ar io os sp java strong on div 擷取元素(這裡定位元素A)距離頂部的高度,接著設定scroll滾動的事件,比如超過那個高度,把A的位置設定為fix
Time of Update: 2014-12-19
標籤: 1 public string GetIP() 2 { 3 string tempIp = ""; 4 WebRequest wr = WebRequest.Create("http://city.ip138.com/ip2city.asp"); 5 Stream s = wr.GetResponse().GetResponseStream(); 6 StreamReader sr = new StreamReader(s, Encoding.Default); 7
Time of Update: 2014-12-19
標籤:下面是在sublime上配置jshint代碼檢查的詳細步驟。 1、安裝nodejs。:http://nodejs.org/download/2、在控制台安裝jshint:$ npm install jshint -g3、在sublime安裝sublimelinter4、在sublime安裝jshint5、配置sublimelinter:preference-package
Time of Update: 2014-12-19
標籤:Hibernate繼承(1)單表繼承代碼:package bean;import java.util.Date;public class Person { private Integer id; private String name; private int password; private Date birthday; public Person() { } @Override public String
Time of Update: 2014-12-20
標籤:正如標題,這樣的資料網上很多,也說的很到位,但是都感覺解釋的很多,理論性過強,在這裡我簡單的總結和概括下他們之間的區別,可以一目瞭然:一.靜態類和非靜態類Definition: 靜態類可以視為類庫中都是單一的過程,不存在“狀態”的概念; 非靜態類是儲存有狀態的一類操作過程Summary: 非靜態類可以包含靜態方法;
Time of Update: 2014-12-20
spring事務配置詳解,spring事務詳解 spring的事務配置一直感覺都比較的模糊,沒有一個清楚的認識。通過這次的學習發覺Spring的事務配置只要把思路理清,還是比較好掌握的。總結如下: Spring設定檔中關於事務配置總是由三個組成部分,分別是DataSource、TransactionManager和代理機制這三部分,無論哪種配置方式,一般變化的只是代理機制這部分。
Time of Update: 2014-12-20
POJ,poj水題The Pilots Brothers' refrigeratorTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 19356 Accepted: 7412 Special JudgeDescriptionThe game “The Pilots Brothers: following the stripy elephant” has a
Time of Update: 2014-12-19
【leetcode 雜湊表】Fraction to Recurring Decimal,leetcoderecurring【leetcode 雜湊表】Fraction to Recurring Decimal @author:wepon@blog:http://blog.csdn.net/u0121626131、題目Given two integers representing the numerator and denominator of a fraction, return