Cloud computing is a model for enabling ubiquitous,
convenient, on-demand network access to a shared pool of configurable computing
resources (e.g., n...
分类:
其他好文 时间:
2014-05-17 00:47:31
阅读次数:
224
DOM4J即Document Object Model for
Java使用java技术以文档方式解析XML数据的模型。DOM4J是开源组织提供的一个免费的、强大的XML解析工具,如果开发者需要在项目中使用那么需要下载并引入jar包。dom4j
is an Open Source XML frame...
分类:
其他好文 时间:
2014-05-14 07:01:25
阅读次数:
329
如果将一个Model对象比喻成数据库中的一条记录,那么Collection就是一张数据表。它表示为一个模型集合类,用于存储和管理一系列相同类型的模型对象。1、创建集合集合用于组织和管理多个模型,但它并不是必须的,如果你的某个模型对象是唯一的(单例),那么你没必要将它放到集合中。我们来看一个创建集合的...
分类:
其他好文 时间:
2014-05-14 02:17:15
阅读次数:
319
本文为senlie原创,转载请保留此地址:http://blog.csdn.net/zhengsenlie
Same Tree
Total Accepted: 15922 Total
Submissions: 38418
Given two binary trees, write a function to check if they are equal o...
分类:
其他好文 时间:
2014-05-14 01:15:40
阅读次数:
293
本文为senlie原创,转载请保留此地址:http://blog.csdn.net/zhengsenlie
Symmetric Tree
Total Accepted: 13991 Total
Submissions: 44240
Given a binary tree, check whether it is a mirror of itself ...
分类:
其他好文 时间:
2014-05-14 00:52:07
阅读次数:
372
If you runfsck, the filesystem check and repair
command, it might find data fragments that are not referenced anywhere in the
filesystem. In particula...
分类:
其他好文 时间:
2014-05-13 16:59:54
阅读次数:
276
M Model 模型数据V View 视图(界面)C
Controller控制器模型中不能拥有控制器和视图,模型有可能用来重用的,
包含了控制器就不能重用了,因为模型脱离控制器,就不能重用了视图不能直接访问模型视图和模型的联系都是通过控制器控制器向模型拿到数据展示到...
分类:
Web程序 时间:
2014-05-13 10:39:11
阅读次数:
258
#!/bin/bash
#checkmysqlslavestatus
USER="check"
PSW="***"
RUNTIME=3600
ADDR="192.168.*.*"
declare-aslave_is
forIPin$ADDR
do
slave_is=($(/usr/local/mysql/bin/mysql-h$IP-u${USER}-p${PSW}-e"showslavestatus\G"|grepRunning|awk‘{print$2}‘))
if["${slave_is[0]}"="Y..
分类:
数据库 时间:
2014-05-13 04:33:44
阅读次数:
374
Spring MVC 是典型的mvc架构,适合web开发。
controler 输入输出的控制器,也是对外view提供数据的接口,调用service层。
model 数据,由bean组成(对应表),关联dao层。
Spring MVC 的核心是DispatcherServlet ,用来截获你配置的请求,分发给相应的处理器去处理并返回结果。
需要配置:例如
springMV...
分类:
编程语言 时间:
2014-05-13 00:32:18
阅读次数:
429
错误信息如下:org.apache.ibatis.exceptions.PersistenceException:###Errorqueryingdatabase.Cause:org.apache.ibatis.cache.CacheException:Errordeserializingobject.Cause:java.lang.ClassNotFoundException:com.kytsoft.model.Adminlink###Cause:org.apache.ibatis.cache..
分类:
其他好文 时间:
2014-05-11 19:26:15
阅读次数:
455