自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(64)
  • 资源 (6)
  • 收藏
  • 关注

原创 CRC24Q算法Java实现

Java CRC24Q

2016-10-08 21:43:37 2983

原创 Ajax登录ofbiz

public static String login(HttpServletRequest request, HttpServletResponse response) { Delegator delegator = (Delegator) request.getAttribute("delegator"); LocalDispatcher dispatcher = (LocalD

2015-11-06 11:49:00 903

原创 Ofbiz使用原生Sql

Delegator delegator = (Delegator) request.getAttribute("delegator");String groupHelperName=delegator.getGroupHelperName("org.ofbiz.olap");GenericHelperInfo helperInfo=new GenericHelperInfo(null,

2015-09-26 20:30:42 1976

转载 ofbiz cas单点登录

Scenes Supported OFBiz-CAS-LDAP component supports the following scenes: OFBiz-CAS-OpenLDAP, OFBiz-CAS-ActiveDirectory, OFBiz-OpenLDAP and OFBiz-ActiveDirectory. OFBiz-CAS-LDAP Login Procedure

2015-09-17 11:04:24 1193

原创 ofbiz自关联子查询

1,这样的查询SQL如何使用ofbiz实现。SELECT*FROMbdlyjg_t_gpsinfo TINNER JOIN (SELECTimei,MAX (uploadtime) AS MaxDateFROMbdlyjg_t_gpsinfoGROUP BYimei) tm ON T .imei = tm.imeiAND T .uploadt

2015-09-17 09:29:02 1745

原创 ofbiz 分页代码

String pageNumber = request.getParameter("pageNumber");String pageSize = request.getParameter("pageSize");// 当前页int intPage = Integer.parseInt((pageNumber == null || pageNumber.equals("0")) ? "1

2015-09-08 23:39:50 718

原创 Ofbiz 定时任务配置规则

values are typically obtained from the java.util.Calendar field constants. For more information, see the org.ofbiz.service.calendar.TemporalExpressions.java file. tempExprTypeId

2015-08-04 16:18:04 2045

原创 Ofbiz 分页代码

Delegator delegator = (Delegator) request.getAttribute("delegator");LocalDispatcher dispatcher = (LocalDispatcher) request.getAttribute("dispatcher");HttpSession session = request.getSession();

2015-06-17 17:11:51 1961

原创 nginx ofbiz 简单配置记录

#user  nobody;worker_processes  1;#error_log  logs/error.log;#error_log  logs/error.log  notice;#error_log  logs/error.log  info;#pid        logs/nginx.pid;events {    wo

2015-05-18 23:14:09 769

原创 JBPM 4.4 学习笔记01----基本步骤

package com.zsj.test.jbpm;import java.util.List;import org.jbpm.api.Configuration;import org.jbpm.api.ExecutionService;import org.jbpm.api.ProcessEngine;import org.jbpm.api.ProcessInstance;imp

2013-10-15 14:27:15 671

原创 Spring整合quartz配置

一 quartz Jar包quartz-all-1.8.6.jar 在官网可以下载,不知道的请百度下下。二 Spring配置文件

2013-10-10 15:19:05 9906

原创 Luence 4.4 Jcseg分词器构建索引以及检索测试

一 利用Jcseg分词器构建索引public class LuceneJcsegIndex {public static void main(String[] args) {String[] ids = new String[] { "1", "2", "3", "4" };String[] names = new String[] { "北京", "北京海淀", "南京", "s

2013-10-09 10:15:04 2240 3

原创 Luence 4.4 Jcseg中文分词简单测试

package com.zsj.test.jcseg;import java.io.IOException;import java.io.StringReader;import org.apache.lucene.analysis.Analyzer;import org.apache.lucene.analysis.TokenStream;import org.apache.l

2013-10-08 16:29:58 2574 4

原创 Lucene 4.4利用BooleanQuery组合多个Query搜索

package com.zsj.test;import java.io.File;import java.io.IOException;import org.apache.lucene.document.Document;import org.apache.lucene.index.IndexReader;import org.apache.lucene.index.Term;

2013-09-27 15:31:56 7915

原创 Lucene 4.4 使用通配符搜索

package com.zsj.test;import java.io.File;import java.io.IOException;import org.apache.lucene.document.Document;import org.apache.lucene.index.IndexReader;import org.apache.lucene.index.Term;

2013-09-27 15:12:52 3130

原创 Lucene4.4 模糊搜索

package com.zsj.test;import java.io.File;import java.io.IOException;import org.apache.lucene.document.Document;import org.apache.lucene.index.IndexReader;import org.apache.lucene.index.Term;

2013-09-27 14:27:47 7003 1

原创 Lucene 4.4 基于前缀搜索

package com.zsj.test;import java.io.File;import java.io.IOException;import org.apache.lucene.document.Document;import org.apache.lucene.index.IndexReader;import org.apache.lucene.index.Term;

2013-09-27 14:11:19 1962

原创 Lucene 4.4范围查询

package com.zsj.test;import java.io.File;import java.io.IOException;import org.apache.lucene.document.Document;import org.apache.lucene.index.IndexReader;import org.apache.lucene.index.Term;

2013-09-27 11:44:32 3654

原创 Lucene 4.4简单搜索测试

package com.zsj.test;import java.io.File;import java.io.IOException;import org.apache.lucene.document.Document;import org.apache.lucene.index.IndexReader;import org.apache.lucene.index.Term;

2013-09-27 10:30:17 882

原创 Lucene 4.4 删除document

package com.zsj.test;import java.io.File;import java.io.IOException;import org.apache.lucene.analysis.standard.StandardAnalyzer;import org.apache.lucene.index.IndexWriter;import org.apache.l

2013-09-26 18:03:58 1533

原创 Lucene 4.4 创建索引

package com.zsj.test;import java.io.File;import java.io.IOException;import org.apache.lucene.analysis.Analyzer;import org.apache.lucene.analysis.standard.StandardAnalyzer;import org.apache.l

2013-09-26 17:03:13 2379

原创 Lucene 4.4 环境测试

package com.zsj.test;import java.io.IOException;import org.apache.lucene.analysis.Analyzer;import org.apache.lucene.analysis.TokenStream;import org.apache.lucene.analysis.standard.StandardAnal

2013-09-26 10:48:22 880

原创 Suse Linux下Nginx,PHP

安装Nginx ,Mysql参见:http://blog.csdn.net/kingzuo/article/details/86485361,下载:php-5.4.12.tar.gz并上传的Linux 目录/home#cd /home#tar zvxf php-5.4.12.tar.gz#cd php-5.4.12#./configure --prefix=/usr/l

2013-03-07 23:06:49 3008

原创 Linux下安装MySql,Nginx

Suse1,安装Mysqlftp://64.50.236.52/.1/vectorlinux/veclinux-5.9/source/extra/dev/mysql/mysql-5.0.45.tar.gzmkdir -p /usr/local/mysql./configure --prefix=/usr/local/mysql \--with-charset=utf8 \-

2013-03-07 22:40:00 1709

原创 MySql 忘记密码找回,修改密码

MySql忘记root密码找回:mysqld_safe --skip-grant-tables &mysql -uroot -puse mysql;update user set password =PASSWORD("12345678") where user ="root";到此成功修改root密码。执行下图语句生效flush privileges;二:如何

2013-03-07 22:14:41 649

原创 Sencha Touch -与服务器端通信。

服务器端:Servlet代码 protected void doPost(HttpServletRequest request,            HttpServletResponse response) throws ServletException, IOException {        // TODO Auto-generated method stub

2013-03-06 10:22:55 1294

原创 Sencha touch -文字颜色不同的面板

Ext.application({    name:'myApp',    launch:function(){      var panel=new Ext.Panel({                    id:'mypanel',                    html:'一个简单的事例面板'        });         var subpan

2013-03-05 17:50:53 746

原创 Sencha touch ——Ext.get()

Ext.application({    name:'myApp',    launch:function(){      var panel=new Ext.Panel({                    id:'mypanel',                    html:'一个简单的事例面板'        });        Ext.get('my

2013-03-05 17:16:21 857

原创 Sencha touch 2.1学习之Viewport

Viewport和Panel都是容器,区别Viewport在launch之前就被创建而且默认是全屏的。       Demo:                 Ext.application({                            name:'myApp',                            launch:function(){

2013-03-05 17:10:28 1314

原创 STS+Virgo Tomcat 埋怨

如果你是初学者,还在使用STS Virgo Tomcat 想玩转OSGI模块化开发----太难。工具会有各种各样的莫名其妙的问题,你还没搞出来东西。人就崩溃了。

2013-02-26 14:52:27 2269 2

转载 Js字符集编码转换函数Get请求特殊字符处理

Js字符集编码转换函数 字符集转换: 1.ajax get请求的字符集乱码解决方案,发送端数据用reCode()方法编码加密,接收端用deCode()方法解码。    function reCode(str) { return encodeURIComponent(encodeURIComponent(str)); }    function deCode(str) { retur

2013-02-21 16:32:01 5545 2

转载 Select 文本框操作

原文:http://blog.csdn.net/nairuohe/article/details/6307367每一次操作select的时候,总是要出来翻一下资料,不如自己总结一下,以后就翻这里了。比如1、设置value为pxx的项选中     $(".selector").val("pxx");2、设置text为pxx的项选中    $(".selector").find

2013-02-21 12:55:43 1874

原创 Tomcat下JNDI数据源配置-----Druid

name="ICTReport"     factory="com.alibaba.druid.pool.DruidDataSourceFactory"        auth="Container"       type="javax.sql.DataSource"    maxActive="10"         maxWait="10000"  removeAban

2013-02-17 17:25:30 3397 3

原创 ecshop 二次开发之-----增加帮助页面

做如下操作前请先正确安装ecshop在G:\www\ecshop目录下增加一个文件help.php内容如下: define('IN_ECS', true);    require(dirname(__FILE__) . '/includes/init.php');    assign_template();   $position = assign_ur_here(''

2013-01-28 15:33:23 737

原创 PHP学习笔记——MySql 查询

header("Content-type: text/html; charset=GBK"); $conn=mysql_connect('127.0.0.1','root','root'); mysql_select_db('mysql',$conn); mysql_query('SET NAMES GBK') or die ('字符集错误'); $query="SELECT *

2013-01-21 16:33:46 431

原创 PHP学习笔记——表单数据获取,Session,Cookie

演示代码如下:一. 表单页面Insert title here   Name:  Age:  Email:  Password:   二 数据处理页面header("Content-type: text/html; charset=GBK");$username=$_POST['username'];if(!i

2013-01-21 13:47:29 644

原创 PHP学习笔记之——跳转

//重定向,在重定向之前不能有任何的输出到页面,否则报错 header("Location:http://www.baidu.com"); ?>

2013-01-21 12:30:15 456

原创 PHP学习笔记——函数

//PHP 之自定义函数 /**  * 不带参数的函数  */    function functionTest(){     echo "this is a function";    }    functionTest();    echo "";    /**     * 带参数的函数     */   function funcationAr

2013-01-18 16:21:02 386

原创 PHP学习笔记——文件读写

//写入文件    $out="this is zuo jian"; $fp=fopen("file2.txt","w"); fwrite($fp,$out,strlen($out)); fclose($fp); //读取文件 $fp=fopen("file1.txt","r"); while(!feof($fp)){  echo fgetc($fp); }

2013-01-18 15:17:56 456

原创 PHP学习笔记——目录,文件,磁盘信息获取

//目录操作 $path="G:\www\Test\Demo6.php"; //打印文件名 echo basename($path); echo ""; //打印目录 echo dirname($path); echo ""; //获取目录信息解析为数组 $array_path=pathinfo($path); print_r($array_path);

2013-01-18 13:29:31 5462

Kettle基础整理

Kettle基础整理文档PPT Kettle是一款国外开源的ETL工具,纯java编写,可以在Window、Linux、Unix上运行,数据抽取高效稳定

2018-09-13

Getting Started with Apache OFBiz Manufacturing.pdf )

Getting Started with Apache OFBiz Manufacturing.pdf )

2015-06-22

ECshop.pdf

ecshop,开源的pHP实现电子商务网站系统。

2013-03-07

Mina2.0中文手册

Mina2.0中文手册

2013-01-31

Hadoop指南

Hadoop权威指南,Hadoop权威指南,需要的请下载。

2013-01-31

HibernateAPI

Hibernate3.2 API文档 有需要的可以下载哈

2011-01-30

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除