Time of Update: 2018-12-06
轉自:http://www.cnblogs.com/hzj-/articles/1689836.html<context-param>的作用:web.xml的配置中<context-param>配置作用1. 啟動一個WEB項目的時候,容器(如:Tomcat)會去讀它的設定檔web.xml.讀兩個節點: <listener></listener> 和
Time of Update: 2018-12-06
<!-- 配置 --> <forward name="a" path="a.do" /><!-- Action中的代碼
Time of Update: 2018-12-06
轉自:http://liuwei1578.blog.163.com/blog/static/495803642007116111923195/Spring中ApplicationContext載入機制。 載入器目前有兩種選擇:ContextLoaderListener和ContextLoaderServlet。
Time of Update: 2018-12-06
[TEST@ORA1] SQL>select * from a;編號 姓名---- ----------1000 張三2000 李四3000 王五[TEST@ORA1] SQL>select * from b;編號 商品---- ----------1000 電視機2000 錄影機4000 單車[TEST@ORA1] SQL>set null 空值--這裡為了顯示方面我把NULL定義成了[空值][TEST@ORA1] SQL>select a.*,b.* from a
Time of Update: 2018-12-06
2010-10-14 21:43:53 org.apache.catalina.core.AprLifecycleListener init 資訊: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:\ Program Design\MyEclipse 5.5
Time of Update: 2018-12-06
轉自:http://blog.csdn.net/sadfishsc/article/details/7406327Android的四大組件之一,ContentProvider,分為兩個部分:一是資料群組織工具ContentProvider,一是資料調用工具ContentResolver。對於系統已經提供的URI,如通訊錄、多媒體、簡訊等,通常可以不需要再建立額外的資料庫,再用ContentProvider進行組織,而是可以直接用ContentResolver調用這些URI,對系統資料庫進行增刪改
Time of Update: 2018-12-06
轉自:http://hi.baidu.com/wang668/blog/item/ce3fc3889fc29a92a5c27219.html 今天參加了一個面試,面試中問到上述問題,我當時也很納悶,就蒙了V層,回來後在網上搜到的資訊如下: 問題:請教大俠在Struts中的MVC2設計模式中的二個小問題,能不能給個標準的答案?謝謝!
Time of Update: 2018-12-06
轉自:http://www.db2china.net/club/archiver/tid-10129.html 參考:----查看SAMPLE庫上表的鎖數量SELECT TABSCHEMA, TABNAME, COUNT(*) AS NUMBER_OF_LOCKS_HELD FROM SYSIBMADM.LOCKS_HELD --WHERE DB_NAME = 'SAMPLE' GROUP BY DBPARTITIONNUM, TABSCHEMA,
Time of Update: 2018-12-06
轉自:http://blog.163.com/sunfollower@126/blog/static/114526090200932244449324/tomcat部署web應用主要有以下幾種方式:1.拷貝你的WAR檔案或者你的web應用檔案夾(包括該web的所有內容)到$CATALINA_BASE/webapps目錄下。2.為你的web服務建立一個只包括context內容的XML片斷檔案,並把該檔案放到$CATALINA_BASE/webapps目錄下。這個
Time of Update: 2018-12-06
DispatchAction 是struts 1.x裡有的。 在java web開發中,原始的配置action都是使用一個action類實現一個功能,如果工程項目夠大,action類數目會很多,就增加了該項目後期的維護難度。解決的方法,這裡給大家介紹一個struts包下的action子類,DispatchAction。
Time of Update: 2018-12-06
轉自:http://wly719.iteye.com/blog/502578由於公司項目的需要,讓我這個對db2一點不通的人來寫個觸發器。沒辦法,查資料,現在終於有點小成果,記錄下。 在觸發器上右擊->建立,出現下面介面 建立觸發器的名字,選擇表視圖模式,表視圖名稱 選擇已觸發操作,出現介面 由於之前選擇執行觸發操作是插入,所以只有新行相關名,在下面的已觸發的操作裡面寫觸發語句,觸發器的語句要求比較嚴格,有很多的限制。 貼一個最簡單的例子 /* 作用:當dest表的欄位ziduan
Time of Update: 2018-12-06
代碼 CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#include "Windows.h"#include "stdlib.h"#include "math.h" #include <tchar.h>const double SPLIT = 0.01;const int COUNT = 200;const double PI
Time of Update: 2018-12-06
轉自:http://www.cnblogs.com/kakaku/articles/1312826.html <logic:iterate>標記用於在頁面中建立一個迴圈,以此來遍曆如數組、Collection、Map這樣的對象。該標記的功能強大,在Struts應用的頁面中經常使用到。1、對數組進行迴圈遍曆使用<logic:iterate>標記可以用於遍曆數組,以下是一段範例程式碼:<%String[] testArray={"str1","str2","str3"}
Time of Update: 2018-12-06
轉自:http://www.cnblogs.com/fayf/articles/1272982.html一、簡介:BeanUtils提供對Java反射和自省API的封裝。其主要目的是利用反射機制對JavaBean的屬性進行處理。我們知道,一個JavaBean通常包含了大量的屬性,很多情況下,對JavaBean的處理導致大量get/set代碼堆積,增加了代碼長度和閱讀代碼的難度。二、用法:BeanUtils是這個包裡比較常用的一個工具類,這裡只介紹它的copyProperties()方法。該方法定
Time of Update: 2018-12-06
轉自:http://wenku.baidu.com/view/36a2188a84868762caaed5d8.htmltomcat中三種部署項目的方法第一種方法:在tomcat中的conf目錄中,在server.xml中的,<host/>節點中添加: <Context path="/hello" docBase="D:eclipse3.2.2forwebtoolsworkspacehelloWebRoot" debug="0" privileged="true">
Time of Update: 2018-12-06
轉自:http://xubogang.iteye.com/blog/706440首先介紹一下 tomcat 預設路徑的配置方法: 我用的是tomcat 6.0 其他版本的估計也差不多 舉個例子: 1 在D盤跟目錄下 建立一個 C代碼 D:\MyJsp D:\MyJsp 2 修改server.xml檔案 找到 Xml代碼
Time of Update: 2018-12-06
Scott發布了Atlas命名和開發計劃的文章,給我們帶來了兩個好訊息:1.微軟將在今年年底發布Atlas 1.0 Release版本,在這之前會先發布Beta版本,根據使用者的反饋意見決定最終的發布日期。2.Atlas組成部分有了官方名稱:l 用戶端 Atlas Javascript Library 被命名為 Microsoft AJAX Library,它可以在任何瀏覽器工作並且支援任何Web 服務器。l Atlas 伺服器端功能被命名為 ASP.NET 2.
Time of Update: 2018-12-06
1、建立類時候,產生注釋: Window--》Preferences--》Java--》Code Style--》Code Templates--》Commonts--》Types,設定完成後在建立類時勾上Generate comments /** * @author wusuiqian * */ 2、在方法前產生注釋: Window--》Preferences--》Java--》Code Style--》Code
Time of Update: 2018-12-06
Atlas Control Toolkit又發布新版本了,這次新增加的控制項有如下四個:1.Animation: Adds powerful, easy to use animations to any element or control2.NoBot: Applies simple rules to prevent automated bots or scripts from posting to a page3.Slider: Adds an elegant scrollbar-like
Time of Update: 2018-12-06
在Atlas中,預設的AutoComplete Extender並沒有提供捲軸,可以定義一個Panel 或者Div作為下拉地區附加到AutoComplete Extender,並定義Panel或者Div的樣式,讓它具有捲軸就可以了。定義Panel作為下拉區:<asp:Panel ID="dropdown" Height="100px" ScrollBars=Vertical runat=server></asp:Panel>設定AutoComplete