2005/04/12
SimpleFTP Java FTP Client Package
SimpleFTP Java FTP Client Package: "A Simple Java FTP Client Package"
2005/04/11
2005/03/18
java.util.MissingResourceException
Scenario:
I have a config.properties file. In this property file, it provides some information, such as jdbc driver url, user name, password, and so forth.
But as I wanna read this property file, it always throws this kind of exception message: java.util.MissingResourceException: Can't find bundle for base name config
How to resolve:
This root cause is not cannot find this property file. It does find this file, but the content in this file has something wrong.
This line is the snippet of the property file
ftp.type4.path=D:\batch\FTP_FILES\user_group
the problem is the slash direction, it should be
ftp.type4.path=D:/batch/FTP_FILES/user_group
or
ftp.type4.path=D:\\batch\\FTP_FILES\\user_group
I have a config.properties file. In this property file, it provides some information, such as jdbc driver url, user name, password, and so forth.
But as I wanna read this property file, it always throws this kind of exception message: java.util.MissingResourceException: Can't find bundle for base name config
How to resolve:
This root cause is not cannot find this property file. It does find this file, but the content in this file has something wrong.
This line is the snippet of the property file
ftp.type4.path=D:\batch\FTP_FILES\user_group
the problem is the slash direction, it should be
ftp.type4.path=D:/batch/FTP_FILES/user_group
or
ftp.type4.path=D:\\batch\\FTP_FILES\\user_group
2005/03/15
Example for Struts+DisplayTag+Spring Framework
Example for Struts+DisplayTag+Spring Framework
Environment:Win XP Pro
App Server: Oracle 9i AS
DataBase: Oracle 9i
IDE Tool: JDeveloper 10g
Struts: http://jakarta.apache.org/struts
DisplayTag: http://displaytag.sourceforge.net
Spring Framework: http://www.springframework.org
Page Flow:

Sample Code: download
Environment:Win XP Pro
App Server: Oracle 9i AS
DataBase: Oracle 9i
IDE Tool: JDeveloper 10g
Struts: http://jakarta.apache.org/struts
DisplayTag: http://displaytag.sourceforge.net
Spring Framework: http://www.springframework.org
Page Flow:
Sample Code: download
2005/01/26
An example to modify xml file by JDOM
Description: Assume we have a xml file, TaiwanTopTen20050121073726.xml, and this xml file locate at C:/xmlfile. This example would tell you how to modify its content.
input: TaiwanTopTen20050121073726.xml
source code:
1.ModifyXMLByJDOM
2.XMLUtil
input: TaiwanTopTen20050121073726.xml
source code:
1.ModifyXMLByJDOM
2.XMLUtil
2005/01/25
2005/01/24
An example to modify xml file by DOM
description: Assume we have a xml file, TaiwanTopTen20050121074140.xml, and we wanna do a little modification.
input file: TaiwanTopTen20050121074140.xml
source code:
1. ModifyXMLByDOM.htm
2. XMLUtil.htm
input file: TaiwanTopTen20050121074140.xml
source code:
1. ModifyXMLByDOM.htm
2. XMLUtil.htm
2005/01/23
An example to append a node to xml file by DOM
Description: Assume we have a xml file, TaiwanTopTen20050121073726.xml, and we would like to append a time elemnt at the end of the xml file.
Input:
1. TaiwanTopTen20050121073726.xml
Source Code:
1. AppendTimeToXMLByDom.htm
2. XMLUtil.htm
Input:
1. TaiwanTopTen20050121073726.xml
Source Code:
1. AppendTimeToXMLByDom.htm
2. XMLUtil.htm
2005/01/21
An example to write xml file by JDOM
description: read an input file, TopTen.csv, from local machine, and write into a xml file which named TopTen.xml by JDOM
input file: TopTen.csv
source code:
1. WriteXMLByJDOM.htm
2. TimeUtil.htm
3. IOUtil.htm
input file: TopTen.csv
source code:
1. WriteXMLByJDOM.htm
2. TimeUtil.htm
3. IOUtil.htm
2005/01/20
An example to write xml file by DOM
description: read an input file, TopTen.csv, from local machine, and write into a xml file which named TopTen.xml.
input file: TopTen.csv
source code:
1.WriteXMLByDOM.htm
2.IOUtil.htm
input file: TopTen.csv
source code:
1.WriteXMLByDOM.htm
2.IOUtil.htm
2005/01/16
2005/01/15
2005/01/11
2005/01/09
IBM WebSphere and XML Certification Free Testing Promotion (January - June 2005)
The following criteria applies to this offer:
1. There are 2000 vouchers, each valued up to $175 USD, and applicable to the appended WebSphere and XML certification tests. Each voucher is valid worldwide and can be used as payment for an applicable test.
Each participating candidate can qualify up to 3 vouchers, each voucher applicable to a different test.
2. To qualify for a voucher, a candidate is required to be one of the first people to pass the aligning Pre-assessment/Sample Test between January 1, 2005 (12:00 a.m. Eastern Time) and April 30, 2005 (11:59 p.m. Eastern Time).
http://www-03.ibm.com/certify/news/20041220g.shtml
1. There are 2000 vouchers, each valued up to $175 USD, and applicable to the appended WebSphere and XML certification tests. Each voucher is valid worldwide and can be used as payment for an applicable test.
Each participating candidate can qualify up to 3 vouchers, each voucher applicable to a different test.
2. To qualify for a voucher, a candidate is required to be one of the first people to pass the aligning Pre-assessment/Sample Test between January 1, 2005 (12:00 a.m. Eastern Time) and April 30, 2005 (11:59 p.m. Eastern Time).
http://www-03.ibm.com/certify/news/20041220g.shtml
Subscribe to:
Posts (Atom)