jsp上传文件,获取form表单type=file以外的数据
                            
                            
                                分类:
Web程序   时间:
2014-05-16 04:41:52   
                                阅读次数:
446
                             
                         
                    
                        
                            
                            
                                一直喜欢chrome 浏览器,不过自ubuntu 刚安装的时候是没有chrome的, 
首先,下载google chrome deb包 
32位:https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb 
6...
                            
                            
                                分类:
系统相关   时间:
2014-05-16 04:17:45   
                                阅读次数:
367
                             
                         
                    
                        
                            
                            
                                例子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
                             
                         
                    
                        
                            
                            
                                1.慢查询日志:slow_launch_time=2 
查询大于某个时间的值(单位:s)slow_query_log=on/off 
开启关闭慢查询日志slow_query_log_file=/opt/data/host-slow.log 
慢查询日志位置2.连接数:max_connections MyS...
                            
                            
                                分类:
数据库   时间:
2014-05-15 21:44:08   
                                阅读次数:
447
                             
                         
                    
                        
                            
                            
                                有时候会碰到如题这种问题,从网上查知解决办法,非常管用为eclipse.exe创建一个快捷方式,然后快捷方式上右键-属性,在目标栏填入E:\eclipse\eclipse.exe 
-vm "C:\Program Files\Java\jdk1.6.0_16\bin\javaw.exe" -data ...
                            
                            
                                分类:
系统相关   时间:
2014-05-15 21:31:41   
                                阅读次数:
317
                             
                         
                    
                        
                            
                            
                                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
                             
                         
                    
                        
                            
                            
                                使用open()方法打开磁盘文件时,默认的访问模式为r,表示读,不需要特意指定;要打开一个文件完成写,需要指定模式w,如data=open("sketch.txt","w"),如果该文件已经存在则会清空现有内容;要追加到一个文件,需要指定模式a,不会清空现有内容;要打开一个文件完成写和读,且不清空现...
                            
                            
                                分类:
编程语言   时间:
2014-05-15 11:30:22   
                                阅读次数:
429