码迷,mamicode.com
首页 >  
搜索关键字:struts2 result chain iframe    ( 21172个结果
职责链模式<Chain of Responsibility>
使多个物件都有机会处理请求,以避免请求的发送者与接收者之间的耦合关系,将这些物件组合为一个链,并沿着这个链传递该请求,直到有物件处理它为止 角色成员: 抽象处理角色(Handler):定义一个处理请求的接口,如果需要,接口可以定义出一个方法以返回或设置对下家的引用 . 通常可以用抽象类或接口实现.....
分类:其他好文   时间:2014-05-16 22:06:31    阅读次数:468
Oracle的decode、sign、trunc函数
原文http://knowyouknowme.iteye.com/blog/574974一、decode在Oracle/PLSQL中,decode具有和 IF-THEN-ELSE 一样的功能。decode函数语法如下:decode( expression , search , result [, s...
分类:数据库   时间:2014-05-16 20:41:51    阅读次数:540
C#:自定义函数
将数组转成字符串/// /// 将数组转成字符串/// /// 分隔符/// 要字符串数组private string Implode(char glue,string[] pieces) { string result = string.Empty; int count = piece...
分类:其他好文   时间:2014-05-14 07:48:42    阅读次数:363
sqlite 二进制字段 (zz)
有时我们用数据库存储文件,需要用到二进制字段,下面列常用方法。 1.写二进制数据 sqlite3 * db; int result; char **errmsg =NULL; result = sqlite3_open("test.db", &db ); if( result != SQLITE_O...
分类:数据库   时间:2014-05-14 02:45:00    阅读次数:371
杭电2001
#include #include #include using namespace std;int main(){ double x1,y1,x2,y2; double result; while (cin>>x1>>y1>>x2>>y2) { result ...
分类:其他好文   时间:2014-05-14 02:02:49    阅读次数:242
<iframe> 标签
1.所有浏览器都支持。2.iframe 元素会创建包含另外一个文档的内联框架(即行内框架)。
分类:其他好文   时间:2014-05-14 01:54:40    阅读次数:220
bzoj 3172 后缀数组|AC自动机
后缀数组或者AC自动机都可以,模板题。/************************************************************** Problem: 3172 User: BLADEVIL Language: C++ Result: Ac...
分类:其他好文   时间:2014-05-13 21:25:44    阅读次数:433
Pat(Advanced Level)Practice--1044(Shopping in Mars)
Pat1044代码 题目描述: Shopping in Mars is quite a different experience. The Mars people pay by chained diamonds. Each diamond has a value (in Mars dollars M$). When making the payment, the chain can...
分类:其他好文   时间:2014-05-13 14:33:08    阅读次数:437
struts2jsp里<struts:head theme:"ajax">报错
按javaweb王者归来做strut2练习使用<struts:headtheme:"ajax">报错org.apache.jasper.JasperException:Template/template/ajax/head.ftlnotfound加入struts2-dojo-plugin-2.1.6包并在jsp里引入<%@taglibprefix="sx"uri="/struts-dojo-tags"%><sx:head/>这是..
分类:Web程序   时间:2014-05-13 13:00:55    阅读次数:854
Geogebra习作[Steiner chain动态观察]
作图方法: 1. 先画出规则的圆环套圆环; 2. 然后把它们组合起来关于某个圆进行inversion操作,又叫反演,或者关于圆的反射;  图示为改变小圆的个数动态观察的结果....
分类:其他好文   时间:2014-05-13 07:56:52    阅读次数:225
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!