Time of Update: 2018-12-05
異常資訊:The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associated filter. Struts tags are only usable when the request has passed through its servlet filter, which initializes the Struts dispatcher
Time of Update: 2018-12-05
1、基於實體視圖的觸發器(每一個實體視圖都有對應的資料庫表) create or replace TRIGGER TRIGGER_MV_TEST01AFTER INSERT OR DELETE OR UPDATE ON MV_TEST01REFERENCING OLD AS OOO NEW AS NNN FOR EACH ROW BEGIN IF INSERTING THEN INSERT INTO EMPLOYEE_BAK
Time of Update: 2018-12-05
在WebRoot下META-INF下添加context.xml 檔案,內容如下:<?xml version="1.0" encoding="UTF-8"?><context> <Resource name="jdbc/njs" type="javax.sql.DataSource" driverClassName="oracle.jdbc.OracleDriver"
Time of Update: 2018-12-05
Oracle 10g for ubuntu 安裝指南(摘自Ubuntu中文論壇 作者:孫高勇)本文是在 ununtu linux 下 Oracle10g 的安裝筆記。我假設您已經成功的安裝並配置了Ubuntu Linux。並且安裝好了 gcc, make, binutils, lesstif2, libc6, and rpm libaio1 mawk rpm j2re 的運行環境,可通過 apt-get install 完成安裝(ununtu 和 debian 的這種安裝方式蠻方便的)。////
Time of Update: 2018-12-05
1、頁面 <%@ page contentType="text/html; charset=UTF-8" language="java"%><html><head><title>Add Product Form</title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><mce:style
Time of Update: 2018-12-05
1. model class Contact { private String name; private String email; private Image pic; public Contact(String name, String email, Image pic) { this.name = name; this.email = email;
Time of Update: 2018-12-05
1. 表 AX1 X2 X31 11 1113 33 3332 22 222 BY1 AX1 Y320 2 F30 3 G10 1 E 2. 排序 AX1 X2 X31 11 1112 22 2223 33 333 BY1 AX1 Y310 1 E20 2 F30 3 G 3. 順序關聯 var rowIndex = 0for(var i=0;i<A.ROW.LENGTH;i++){
Time of Update: 2018-12-05
1. 匯出異常提示 Note: com.sun.lwuit.impl.midp.GameCanvasImplementation: can't find dynamically referenced class com.siemens.mp.game.LightNote: com.sun.lwuit.impl.midp.GameCanvasImplementation: can't find dynamically referenced class com.motorola.phonebook.
Time of Update: 2018-12-05
最近剛使用MyEclise 7.1 ,發現期外掛程式安裝與以前有所不同。MyEclipse 7.1的安裝目錄結構如下: 1. Genuitec 2. ├─Common 3. │ ├─configuration 4. │ ├─features 5. │ └─plugins 6. └─MyEclipse 7.1 7. ├─configuration 8.
Time of Update: 2018-12-05
Option Explicit'''視窗半透明聲明開始Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As LongPrivate Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, By
Time of Update: 2018-12-05
1、尋找 find /home/guo/bin -name /*.txt | xargs grep 'jdbc'尋找 /home/guo/bin 目錄下所有尾碼為.txt 的檔案(PS:/* 轉義* 為統配符),通過 xargs 命令傳遞給 grep 作為檔案參數grep 'jdbc' 所搜顯示檔案中所有包含 jdbc字串的行 2、替換 find /home/guo/bin -name /*.txt | xargs sed -i 's/@/1/g' 尋找 /home/guo/bin
Time of Update: 2018-12-05
可能有用的幾個參數 : -v 和大多數 linux 命令中的 -v 意思一樣 , 用來顯示進度 . 可以用來查看串連 , 認證 , 或是配置錯誤 . -C 使能壓縮選項 . -P 選擇連接埠 . 注意 -p 已經被 rcp 使用 . -4 強行使用 IPV4 地址 . -6 強行使用 IPV6 地址 . -r Recursively copy entire directories. copy 本地的檔案到遠端機器上 scp -P 8022 /etc/lilo.conf
Time of Update: 2018-12-05
問題: table中的cell進行編輯時,顯示的下拉框或文字框中的文字被遮擋了一部分不能完全顯示。 解決辦法: 1. 人為加大行高: table.addListener(SWT.MeasureItem, new Listener() { public void handleEvent(Event event) { event.height = event.gc.getFontMetrics().getHeight() + xxx;
Time of Update: 2018-12-05
卸載百度外掛程式的方法: 1.重新啟動電腦,按 F8 進入安全模式(F8 只能按一次) 2.單擊 開始 -> 運行 regedit開啟註冊表,進入: HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Run刪除鍵:BIE 其索引值為:Rundll32 C:/WINNT/DOWNLO~1/BDPlugin.dll,Rundll32(如果是win98,這裡的 C:/WINNT/DOWNLO~1/ 為
Time of Update: 2018-12-05
0. 用法 TreeNode[] sillyTree = { new TreeNode("Root 1", new TreeNode[] { new TreeNode("Child 1", new TreeNode[] { new TreeNode("Gand Child 1", new TreeNode[] { }),
Time of Update: 2018-12-05
/** * Split string into multiple strings * @param original Original string * @param separator Separator string in original string * @return Splitted string array */private String[] split(String original, String separator) {
Time of Update: 2018-12-05
/** * 在指定範圍內長生隨機數,包含min和max * * @param min最小值 * @param max最大值 * @return int隨機整數 */public static int getRandom(int min,int max){int mid = 0;if (max<min) {mid = max;max = min;min = mid;}double d1 = Math.floor(Math.random()*(max-min+1))+min;if
Time of Update: 2018-12-05
一般不要用struts預設的日期轉換.布置的系統內容決定了struts2怎麼來轉.這樣很沒底自訂日期轉換:1. xwork-conversion.properties裡配java.util.Date=app07.converter.MyDateConverter 2.在web.xml裡面指定初始化參數datePattern <context-param> <param-name>datePattern</param-name>
Time of Update: 2018-12-05
5.1 action的定義與引用@Action public void setTitle() { appFrame.setTitle(textField.getText());}ActionMap actionMap = getContext().getActionMap();setTitleButton.setAction(actionMap.get("setTitle"));textField.setAction(actionMap.get("setTitle"));5.2
Time of Update: 2018-12-05
'作者: Waty Thierry' * Module Name : Start_Module'* Module Filename : Start.bas'*********************************************************' * Comments : Show/Hide the start button' ********************************************************Private Declare