`
aaron_ch
  • 浏览: 173244 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论
文章列表
Struts2 is an elegant, wonderful web framework, it boiled down the strength in webwork and struts1. 1.enhance the filter function 2.based on interface program 3.to be easy to integrate with spring framework 4.add the popular ajax framework :dojo 5.make use of the OGNL feature more stronger than JSTL ...
Basically PHP5 or above can run smoothly by me. Prerequisites: PHP5.2 or above Install: Replace the go-pear.phar content in php/pear directory with http://go-pear.org/ Double click the go-pear.bat  to install PEAR module. Install XML_Query2XML and MDB2_Driver_mysql packages by dos command: pear inst ...
1.simply practice the lucene api for search document and data, post code first lucene version :2.2.0 set up the index of files java 代码 package com.aaron.lucene;       import java.io.File;    import java.io.FileReader;    import java.io.Reader;    import java.util.Date;    ...
处理目录,文件 PHP5中使用大量Iterator,包括ArrayIterator,CachingIterator,LimitIterator,RecursiveIterator,SimpleXMLIterator和DirectoryIterator. 用PHP和PEAR比较文件内容提交输出,相信很多人在Unix/Linux下面都用过Diff命令,这个命令是个非常方便实用的工具,能够对不同文件进行逐行的对比,最后找出不同的地方。而PEAR提供了一个包,也是用来比较文件,Text_Diff   http://pear.php.net/package/Text_Diff  include_once ...
1、序列化是干什么的?   简单说就是为了保存在内存中的各种对象的状态,并且可以把保存的对象状态再读出来。虽然你可以用你自己的各种各样的方法来保存Object States,但是Java给你提供一种应该比你自己好的保存对象状态的机制,那就是序列化。 2、什么情况下需要序列化 a)当你想把的内存中的对象保存到一个文件中或者数据库中时候; b)当你想用套接字在网络上传送对象的时候; c)当你想通过RMI传输对象的时候; 3、当对一个对象实现序列化时,究竟发生了什么? 在没有序列化前,每个保存在堆(Heap)中的对象都有相应的状态(state),即实例变量(instance ariable ...
Load all data into a database: mysql -uroot -pHelloworld db_name<c:\work\backup-file.sql Backup all data into a file: mysqldump -uroot -pHelloword db_name > c:\work\backup-file.sql
CREATE OR REPLACE TRIGGER TRAINING.TR_MIDAS_CLOSETT AFTER UPDATE ON TRAINING.TT_TROUBLETKT REFERENCING NEW AS NEW OLD AS OLD FOR EACH ROW DECLARE BEGIN --IF SUBPRODUCT <> PAYPHONE AND SUBPRODUCT <> PW-DID CIRCUIT AND (TT STATUS == CLOSED or TT STATUS == Cancelled)   IF :NEW.SUBPRODUCT &l ...

Oracle Function

CREATE OR REPLACE FUNCTION TRAINING.c1c3flt_cat_grp2(cof IN VARCHAR2) RETURN NUMBER IS CAT_GRP NUMBER; BEGIN        IF cof BETWEEN '604' AND '607' THEN          CAT_GRP := 1;        ELSIF (cof IN ('610', '083', '084', '085')) OR (cof BETWEEN '615' and '619') OR                             (cof BETWEE ...
Prerequisites: Install Apache(my version 2.2) and configure the php in httpd.conf, Install Mysql enable  LoadModule rewrite_module modules/mod_rewrite.so Configure the database connection MVC construct,  model,views,controller Refer to: http://www.ibm.com/developerworks/cn/opensource/os-php-cake/
Prerequisites: Install oracle9/10g Client.  configure the TNSNAME.ora Connect oracle database case by OracleConnection: Private Sub BtnOracle_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnOracle.Click         Dim OracleConn As New OracleConnection         Dim OracleCo ...
Today,I encountered an issue, that report  ORA-12705: Cannot access NLS data files or invalid environme, I am accessing the oracle database which install in unix ,by php under windowxp. also in my pc, I installed the oracle database due to TOAD, But I prefer to the instantclient to connect to oracle ...
Oracle encoding format: UTF8 package com.aaron.dao; import java.io.BufferedWriter; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.io.UnsupportedEncodingException; import java.sql.Connection; import j ...
XML is a well-format and generally used in data transfer and store,likewise,JSON is a very convenient format  for interchange data, and moreover JSON is easy to be parse by many language, Based on this, specially when use javascript parse and loop the elements by xml,it's very time-consuming, we reso ...
Oracle 10g Instant Client (free download available) is the easiest way for PHP to connect to a remote Oracle database, requiring installation of only three libraries. The Instant Client libraries used by PHP access Oracle's current API, called OCI8. (This C interface takes its name from being first ...
Are you ready to start using PHP to talk to an Oracle Database? Let's walk through the steps required to install the Oracle Database, Apache HTTP Server, and PHP as an Apache module on Windows. We will be using Windows XP Professional for this example. Software Requirements: ...
Global site tag (gtag.js) - Google Analytics