Skin Look And Feel的使用

1.  建立一個工程,工程名為untitled1 2.  建立一個應用程式(File->New->Application) 3.  在Frame1中添加一些控制項 4. 在工程的根目錄下添加皮膚檔案oliveGreenLunaXPthemepack.zip,並右鍵點擊untitled1.jpx,選擇Properties,切換到Required Libraries,單擊Add添加skin.jar(在使用前將skin.jar複製到Libraries目錄中),ok退出 5. 

怎樣安裝和配置Tomcat Admin

Tomcat 5可以通過以運行在網頁瀏覽器的配置應用程式非常方便地進行伺服器的配  置。這個應用程式稱為Tomcat Administration Web Application。然而,Tomcat 5.5 以後的binary 核心安裝版不再提供Tomcat Administration Web Application。要安裝後者,需要單獨下載和安裝。Tomcat 並沒有為Administration Web Application提供一種自動整合的安裝程式。本文將講述安裝和配置的詳細過程。第一

攻破JNDI串連池(Tomcat5.5下通過管理介面配置串連池)

一.在tomcat_home/common下放入jdbc的三個驅動程式(一定要的哦),可以在微軟的網站上去下載,安裝的SQLSERVER2k預設的使用者名稱是sa,密碼是空,但密碼為空白並不代表沒有密碼,所以你的url中一定要定義username和password,最好是重設定一下密碼二.出現不能引用錯誤的話一般就是路徑沒有寫對,tomcat預設的路徑是tomcat_home/webapps/不過使用5.5.x的話,按下面方法就行,不需要配置路徑,而且也不用在youwebapp/WEB-INF/

odbc與資料池的比較

       java串連資料庫常用的有2種方式:odbc橋接和Tomcat資料池串連。這2種方式各有其優點和缺點。      首先,odbc橋接方式容易移植,且配置簡單,但也存在一些致命的缺陷。當jsp調用odbc橋接方式的javabean時,經常會出現Microsoft][ODBC SQL Server

SQL儲存圖片

1、建立過程CREATE PROCEDURE sp_textcopy (   @srvname    varchar (30),   @login      varchar (30),   @password    varchar (30),   @dbname      varchar (30),   @tbname      varchar (30),   @colname    varchar (30),   @filename    varchar (30),  

【I/O】Character Streams

本文目錄:Character StreamsReaderread()read(char[] buf, int offset, int count)read(char[] buf)read(java.nio.CharBuffer buf)skip(long count)ready()close()Writerwrite(int ch)write(char[] buf, int offset, int count)write(char[] buf)write(String str, int

javabean資料庫操作類包

 package dbconn;import java.sql.*;public class DBResult...{    private Connection con;    Statement stmt;    ResultSet rs = null;     public  DBResult()...{        try ...{            this.con=getConnection();        } catch (Exception e) ...{       

viking變種病毒的清理方法(_desktop.ini,rundl132.exe,logo_1.exe,dll.dll,vdll.dll)

第一步,結束副本進程,rundl132.exe,logo_1.exe,並刪除c:/windows下的副本病毒檔案。第二步,中止ie和shell(explorer),用icesword刪除c:/windows/下dll.dll(可能同時有vdll.dll)。第三步,建立記事本檔案,並改名為rundl132.exe,logo_1.exe,dll.dll,vdll.dll,放於windows下,並修改屬性為唯讀,隱藏,系統。該步驟為關鍵步驟,目的是防止受感染的exe釋放上述檔案重新感染第四步,使用do

Signature of a method

Each method has a signature, which is its nameand the number and types of its parameters. The signature does not include the return type or the list of thrown exceptions,and you cannot overload methods based on these factors. A final modifier for a

一些環境變數的設定(僅供參考)

classpath=.;C:/Program Files/Java/jdk1.5.0_01/lib/tools.jar;C:/Program Files/Java/jdk1.5.0_01/lib/dt.jar;C:/Program Files/Java/jdk1.5.0_01/bin;C:/Program Files/Apache Software Foundation/Tomcat/common/classes;C:/Program Files/Apache Software

Method of Overriding and Overloading

 Overloading: providing more than one method with the same name but with different signatures to distinguish them. Overriding a method: replacing the superclass's implementation of a method with one of your own. The signatures must be identical, but

使ApplicationResources.properties支援中文

       建立一個ApplicationResources_ISO.properties檔案,把應用程式用的message都寫進去,然後在dos下執行這個命令,是jdk/bin中的cmd:native2ascii -encoding gb2312 ApplicationResources_ISO.properties

Write a method that counts the number of occurrences of a given character in a string

1、Write a method that counts the number of occurrences of a given character in astringint countChar(String str, char ch) {int counter = 0;int index = -1;while ((index = str.indexOf(ch, index + 1)) != -1) {counter++;}return counter;} 2、Write a method

【I/O】Byte Streams

本文目錄:Byte StreamsInputStreamread()read(byte[] buf, int offset, int count)read(byte[])skip(long count)available()close()OutputStreamwrite(int b)write(byte[] buf, int offset, int count)write(byte[])flush()close()Java流分為: byte streams和character streams.

INNER JOIN 使用及執行個體詳解

INNER JOIN 運算 組合兩個表中的記錄,只要在公用欄位之中有相符的值。文法SELECT (寫上你想要的欄位,最好不要用*) FROM table1 a INNER JOIN table2 b ON a.field1 compopr b.field2普通用法可寫為:SELECT (寫上你想要的欄位,最好不要用*) FROM table1 a INNER JOIN table2 b ON a.field1 = b.field2說明 table1, table2 記錄被組合的表的名稱。

CSDN部落格製作詳解(以本人為例)

1.滾動的文字<marquee direction="up" height=80px scrolldelay=150 scrollamount=2><font color=#000080><BR>歡迎來到我的BLOG!建設中!<BR>2.為Blog 添加“狀態列文本”功能<script language=JavaScript> var MESSAGE="歡迎您親自光臨飛翔天使的專欄            " var POSITION=1

IN&EXISTS與NOT IN&NOT EXISTS 的最佳化

EXISTS的執行流程        select * from t1 where exists ( select null from t2 where y = x )可以理解為:    for x in ( select * from t1 )    loop       if ( exists ( select null from t2 where y = x.x )       then           OUTPUT THE RECORD       end if    end

SVCHOST-應用程式錯誤

        最近電信禁止了用路由上網,現在只能把路由關了用撥號上,網是上得了但是過了不久就會出現一個提示框,上面的內容是: 應用程式發生異常 未知的軟體異常(0xc0000409),位置為0x5fdda3c0 下面有確定和取消兩個選項,無論選哪個最後還是會無法上網,網路連接的狀態框也無法開啟(都是1閃而過),無法斷開網路連接,QQ和網頁,下載全部掉線。      這是有病毒在利用Windows作業系統安全性漏洞(MS06-040:Vulnerability in Server

SQL語句提示

1、快速複製表:        SELECT * INTO TBL2 FROM TBL1 WHERE 1 <> 1        2、複製性插入資料:        INSERT INTO b(a,b,c) SELECT d,e,f FROM b        3、記錄唯一性檢查:        SELECT fld1,fld2,fld3,COUNT(*)        FROM tbl        GROUP BY fld1,fld2,fld3        HAVING

如何手動清除iexplore.exe system 木馬

        這個進程正常情況下應該是IE瀏覽器的進程,路徑應該是在C:/Program Files/Internet

總頁數: 61357 1 .... 18767 18768 18769 18770 18771 .... 61357 Go to: 前往

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.