action中的写法:
public ActionForward fileIsExsit(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response) {
String url = request.getParameter("loadFile");
File...
分类:
其他好文 时间:
2014-10-10 14:24:34
阅读次数:
147
SQL如下:
update mapping_nj_roads
set municipality='227'
from mapping_geodata_boundary a
where a.supportfile_code='227' and
(a.boundary.STContains(mapping_nj_roads.geom)=1 or a.boundary.STIntersect...
分类:
数据库 时间:
2014-10-09 19:39:17
阅读次数:
320
/**
* 手机壳、套
* @author stone
*
*/
public abstract class BaseCellphoneShell {
public abstract void mapping();//对应匹配哪种手机
}/**
* 手机,桥接了 手机壳BaseCellphoneShell
* @author stone
*/
public abstract cla...
分类:
编程语言 时间:
2014-10-09 17:14:58
阅读次数:
176
最近项目中使用到Spring3,在感叹Spring3注解配置清爽的同时竟然出现了这个不和谐的事情,实在无法忍受问 题:部署项目后程序加载或用浏览器访问时出现类似的警告,2011-01-19 10:52:51,646 WARN [org.springframework.web.servlet.Page...
分类:
移动开发 时间:
2014-10-09 16:36:57
阅读次数:
157
网络虚拟化最基础的技术莫过于分层(Overlay、Underlay),要实现分层有两种手段,一个是映射(Mapping),一个是封装(Encapsulation)。
映射,主要思路是转发时替换报文语义,如何替换将需要设备进行查询。
封装,则是把需要的报文语义添加到网包中,处理的时候一层层的解封装即可,尽量对设备透明。
不少协议都实现了封装的部分或完整功能,包括IP-in-IP...
分类:
其他好文 时间:
2014-10-09 16:02:58
阅读次数:
494
ODB: C++ Object-Relational Mapping (ORM)ODB is an open-source, cross-platform, and cross-database object-relational mapping (ORM) system for C++. It a...
分类:
数据库 时间:
2014-10-09 14:33:33
阅读次数:
253
题目链接:http://poj.org/problem?id=1988思路:并查集的扩展~, 感觉并查集里面很多都有用到当前点到祖先的距离。。 。。 这个题目要这么做,记录每个集合的元素个数,然后记录当前元素是第几个被插入到集合中的,其中涉及到了路径压缩。。最后的结果就是总的个数减去第几个被插入到集...
分类:
其他好文 时间:
2014-10-09 14:21:14
阅读次数:
132
一、Hibernate概述
什么是Hibernate呢?首先,Hibernate是数据持久层的一个轻量级框架,实现了ORMapping原理(Object Relational Mapping)。
在说hibernate之前,简单说一下什么是ORM。
ORMapping基本对应规则:(这是查到的一些资料,有些规则,还没有考究)
1:类...
分类:
系统相关 时间:
2014-10-09 01:36:17
阅读次数:
215
题目:统计一个数字可以有多少种立方和的表示方式。
分析:dp,完全背包。又见整数拆分。
说明:csdn冲进前1000了,(*^__^*) 嘻嘻……。
#include
#include
#include
using namespace std;
int cube[25];
long long F[10001];
int main()
{
for (int i = 0 ; i <...
分类:
其他好文 时间:
2014-10-07 15:13:43
阅读次数:
165
今天发现自己连Bundle类都没有搞清楚,于是花时间研究了一下。依据google官方的文档(http://developer.android.com/reference/android/os/Bundle.html)Bundle类是一个key-value对,“A mapping from Strin...
分类:
移动开发 时间:
2014-10-07 13:13:23
阅读次数:
194