原创 html5遊戲開發之-----祖瑪小遊戲

</pre><pre name="code" class="javascript"></pre><pre name="code" class="javascript"></pre><pre name="code" class="javas

原创 仿小米明星產品展示

今天練習html+css+js 下面是baron_move.js 運動函數 function css(obj, attr, value) { if(arguments.length==2) return parseFloat(obj

原创 html5遊戲開發之-----祖瑪小遊戲<原創>

</pre><pre name="code" class="javascript"></pre><pre name="code" class="javascript"></pre><pre name="code" class="javas

原创 javamail實踐

public static void main(String[] args) throws Exception, Exception { MimeMessage message=new MimeMessage(Session.get

原创 詳解position的四個屬性

今天在做小米官網明星產品展示效果,在做佈局的過程中對一些屬性掌握得不好,所以今天來複習一下: 這裏向大家簡單介紹一下CSS+DIV佈局中absolute和relative屬性的用法和區別,定位爲relative的元素脫離正常的文本流中

原创 Spring的helloworld的缺包錯誤

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactoryat org

原创 response壓縮響應

思路:1、通過filter向目標頁面傳遞一個自定義的response對象2.、在這個response對象中通過重寫getOutputStream方法和getWriter方法使目標資源調用該方法輸出頁面內容

原创 用Filter程序實現靜態HTML頁面的訪問保護

今天爲練習Filter的用法編寫了一個小程序. 當用戶通過article的超鏈接讀取文章的時候,會通過Filter進行檢測有沒有登錄.只有登錄的讀者才能跳到文章頁面,否則跳到登錄頁面.   文章就用簡單的article1 和art