简介: 1.表单的提交 表单和对应的Java模型的类 在此次的例子中,我们将会模仿一个用户提交表单的动作,具体提交表单做什么,不关心,我们需要知道 first last Name,Email address ,age。 为了封装这个数据,我们提供一个简单的java Class 来存储这个信息。 Pe...
                            
                            
                                分类:
其他好文   时间:
2014-09-24 15:26:06   
                                阅读次数:
129
                             
                         
                    
                        
                            
                            
                                对于大数据量的查询处理,记得先用explian看下,尽量的优化 例如:explain select surname,first_name form a,b where a.id=b.id Explain 解释: table:显示这一行的数据是关于那张表。 type: 这个是重要的列,显示连接使用了何...
                            
                            
                                分类:
数据库   时间:
2014-09-24 15:21:27   
                                阅读次数:
257
                             
                         
                    
                        
                            
                            
                                每个点有2中颜色 只有一条路上的两个点颜色一样才能通过这条路 最短路加上等待的时间处理 处理的是参考别人的 唉还是太弱了
#include 
#include 
#include 
#include 
#include 
using namespace std;
int s, e;
int n, m;
int a[333];
int b[333];
int c[333];
int first[...
                            
                            
                                分类:
其他好文   时间:
2014-09-24 00:30:05   
                                阅读次数:
270
                             
                         
                    
                        
                            
                            
                                一、处理作用域(1)Python允许你在函数中访问和读取一个全局变量的值,但是不能修改。要想访问和修改一个全局变量,必须明确的表明你的意愿(参见代码1),否则就会抛出UnboundLocalError(局部变量未被赋值就被引用)(参见代码2)。#代码1name="Python"def what_ha...
                            
                            
                                分类:
编程语言   时间:
2014-09-24 00:25:25   
                                阅读次数:
352
                             
                         
                    
                        
                            
                            
                                #!/usr/bin/python # -*- coding:utf8 -*- import os import re def swap(path, a, b): print path file = open(path, "r").read() file = re.sub(a,b,file) #pr...
                            
                            
                                分类:
编程语言   时间:
2014-09-23 22:42:45   
                                阅读次数:
198
                             
                         
                    
                        
                            
                            
                                一、Web服务器处理Web请求(1)Web请求静态内容,Web服务器寻找静态内容并把它回发给浏览器(2)Web请求动态内容,Web服务器找到所要执行的程序、执行找到的程序,然后捕获程序的输出作为Web响应,再把它发给还在等待的浏览器。生产动态内容的过程已得到标准化,称为通用网关接口(Common G...
                            
                            
                                分类:
编程语言   时间:
2014-09-23 21:48:15   
                                阅读次数:
190
                             
                         
                    
                        
                            
                            
                                Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that position.
Your goal i...
                            
                            
                                分类:
其他好文   时间:
2014-09-23 20:15:26   
                                阅读次数:
142
                             
                         
                    
                        
                            
                            
                                One of the most exciting features of PHP 5.3 is the first-class support foranonymous functions. You may have heard them referred to asclosuresor lambd...
                            
                            
                                分类:
Web程序   时间:
2014-09-23 12:11:34   
                                阅读次数:
283
                             
                         
                    
                        
                            
                            
                                在本文中, 我们说下增量更新数据:即将数据源中更新了的数据替换掉目标表中对应的数据.
更新代码
操作之前我们先把目标表e (dbo.Contact). 的数据改掉
Use AdventureWorks
go
Update dbo.Contact
 Set MiddleName = 'Ray'
 Where MiddleName Is NULL
打开 My_First_SSIS_...
                            
                            
                                分类:
其他好文   时间:
2014-09-23 10:43:54   
                                阅读次数:
410
                             
                         
                    
                        
                            
                            
                                一、字典(dict)(1)字典将数据值与键关联。键,字典中的查找部分;值,字典中的数值部分。(2)字典的创建:方式一,myset={};方式二,myset=dict()。(3)字典不会维持插入的顺序,字典通过关键字引用。二、类(1)每个类都有一个特殊方法,名为__init__(),控制如何初始化对象...
                            
                            
                                分类:
编程语言   时间:
2014-09-23 02:02:03   
                                阅读次数:
194