jsp上传文件,获取form表单type=file以外的数据
分类:
Web程序 时间:
2014-05-16 04:41:52
阅读次数:
446
例子1:(具体参照drp中的flow_card_add.jsp) cell0 cell1
cell2 例子2: /news.do?method=add" method="post" enctype="multipart/form-data">
新闻标题 ...
分类:
Web程序 时间:
2014-05-16 03:57:52
阅读次数:
442
usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Web;usingSystem.Data;usingSystem.Web.SessionState;namespacefriends{//////Hand...
分类:
其他好文 时间:
2014-05-16 03:53:53
阅读次数:
381
#include #include #define max(a, b) (((a) >
(b)) ? (a) : (b))void GetMaxCost(int **data, int **result, int n){ int i,
j; for(j = 1; j = 1; i--) { for....
分类:
其他好文 时间:
2014-05-16 03:17:40
阅读次数:
195
二、数据库操作 1、show databases; //列出数据库 2、use
database_name //使用database_name数据库 3、create database data_name
//创建名为data_name的数据库 4、drop database data_name /...
分类:
数据库 时间:
2014-05-16 03:06:36
阅读次数:
437
POJ2533#include #include #define max(a, b)
(((a) > (b)) ? (a) : (b))void GetMaxIncLen(int *data, int *maxLen, int
size){ int i, j; for(i = 2; i max) ....
分类:
其他好文 时间:
2014-05-15 13:52:57
阅读次数:
259
1.慢查询日志:slow_launch_time=2查询大于某个时间的值(单位:s)slow_query_log=on/off开启关闭慢查询日志slow_query_log_file=/opt/data/host-slow.log慢查询日志位置2.连接数:max_connectionsMySQL最大连接数back_log当连接数满了后,设置一个值,允许多少个连接进入等待堆..
分类:
数据库 时间:
2014-05-15 12:44:41
阅读次数:
385
在前面的博文中,我讲到过利用rsync实现数据的镜像和备份,但是要实现数据的实时备份,单独靠rsync还不能实现,本文就讲述下如何实现数据的实时备份。一、rsync的优点与不足与传统的cp、tar备份方式相比,rsync具有安全性高、备份迅速、支持增量备份等优点,通过rsync可以解决对实时性要求....
分类:
其他好文 时间:
2014-05-15 11:46:29
阅读次数:
362
综合类微软企业库微软官方出品,是为了协助开发商解决企业级应用开发过程中所面临的一系列共性的问题,
如安全(Security)、日志(Logging)、数据访问(Data Access)、配置管理(Configuration
Manage)等,并将这些广泛使用的应用程序块集成封装至一个叫企业库的程序包...
分类:
Web程序 时间:
2014-05-15 11:31:47
阅读次数:
416
使用open()方法打开磁盘文件时,默认的访问模式为r,表示读,不需要特意指定;要打开一个文件完成写,需要指定模式w,如data=open("sketch.txt","w"),如果该文件已经存在则会清空现有内容;要追加到一个文件,需要指定模式a,不会清空现有内容;要打开一个文件完成写和读,且不清空现...
分类:
编程语言 时间:
2014-05-15 11:30:22
阅读次数:
429