asp.net 的加密和解密(c#):1. 导入所需包:using
System.IO;using System.Text;using
System.Security.Cryptography;2.加密1)MD5普通加密//获取要加密的字段,并转化为Byte[]数组byte[] data =
Sys...
分类:
Web程序 时间:
2014-05-16 18:53:50
阅读次数:
375
Spring可以通过指定classpath*:与classpath:前缀加路径的方式从classpath加载文件,如bean的定义文件.classpath*:的出现是为了从多个jar文件中加载相同的文件.classpath:只能加载找到的第一个文件.
分类:
其他好文 时间:
2014-05-16 18:32:17
阅读次数:
234
To speed up bulk loading of data, InnoDB
implements aninsert buffer, a special index in the InnoDB system tablespace that
buffers modifications to sec...
分类:
数据库 时间:
2014-05-16 18:26:09
阅读次数:
532
using System;using System.Collections.Generic;using
System.Text;using System.Data;using System.Xml;using System.IO;using
System.Web;namespace Utility{...
分类:
Web程序 时间:
2014-05-14 09:54:50
阅读次数:
324
Import CSV data to Sqlite.
导入CSV数据到SQLite.在做数据导入的时候,只需要理清楚两点就可以了。1, 提取 Title 作为field name.2,
数据写入数据池。这里SQLite很好的为我们解决了这类问题。fieldsnames 属性很高的解决了 提取titl...
分类:
数据库 时间:
2014-05-14 09:41:36
阅读次数:
380
所需jar包:bean: 1 package com.myspring.bean; 2 3
public class User { 4 private String id; 5 private String name; 6 7 public
String getId() ...
分类:
编程语言 时间:
2014-05-14 08:55:20
阅读次数:
364
前一篇简单介绍了Spring MVC的一些知识,下面就要开始学习如何把Spring
MVC运用到具体的项目中去。首先还是从一个简单的Hello
World项目说起:我机器的开发环境为:Ubuntu12.04(不同操作系统对本系列项目没有什么影响);开发工具:Eclipse;数据库:MySql5.5....
分类:
编程语言 时间:
2014-05-14 08:18:27
阅读次数:
540
执行命令:madconfig.bat create_instance1.实例的名称Enter
the Initiate Master Data Engine instance name:MPI2.实例的文件路径Enter the Initiate
Master Data Engine instanc...
分类:
其他好文 时间:
2014-05-14 08:05:06
阅读次数:
326
@Resource的作用相当于@Autowired,只不过@Autowired按byType自动注入,而@Resource默认按byName自动注入罢了。@Resource有两个属性是比较重要的,分是name和type,Spring将@Resource注解的name属性解析为bean的名字,而typ...
分类:
其他好文 时间:
2014-05-14 07:46:38
阅读次数:
270
Spring 能有效地组织J2EE应用各层的对象。不管是控
制层的Action对象,还是业务层的Service对象,还是持久层的DAO对象,都可在Spring的
管理下有机地协调、运行。Spring将各层的对象以松耦合的方式组织在一起,Action对象无须关心Service对象的具体实现,Servi...
分类:
编程语言 时间:
2014-05-14 06:59:29
阅读次数:
482