jsp上传文件,获取form表单type=file以外的数据
分类:
Web程序 时间:
2014-05-16 04:41:52
阅读次数:
446
#-*- coding:UTF-8 -*-#-*- author:Zahoor Wang
-*-import codecs, os, sys, platform, stringdef env():return platform.system()def
read_file(uri, charset =...
分类:
编程语言 时间:
2014-05-16 04:30:50
阅读次数:
306
CentOS安装软件出现错误:bash: /usr/local/bin/rar:
/lib/ld-linux.so.2: bad ELF interpreter: No such file or
directorygoogle了一把才发现是64位系统中安装了32位程序解决方法:yum install...
分类:
系统相关 时间:
2014-05-16 03:31:51
阅读次数:
621
#!/bin/bashfor i in 1 2 3 4 5 6do echo
$idone看文件#!/bin/bashdir=$(ls /etc)for i in $dirdo echo $idone判断#!/bin/bashread
-p "please input a dirname:" ...
分类:
其他好文 时间:
2014-05-16 03:21:30
阅读次数:
279
http://www.boost.org/Boost的安装step1.从www.boost.org下载boost库
step2 在 tools\build\jam_src目录下 运行build.bat来生成jamstep3 设置环境变量(后面的%PATH%要加)
PATH=%boost的绝对路径%\...
分类:
编程语言 时间:
2014-05-16 03:11:46
阅读次数:
433
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
After ASP.NET 3.5 has been installed you need
to modify the web.config file of your MOSS web site with a few Ajax specific
entries. Typically, the web...
分类:
Web程序 时间:
2014-05-15 21:16:22
阅读次数:
528
Log4J的配置文件(Configuration
File)就是用来设置记录器的级别、存放器和布局的,它可接key=value格式的设置或xml格式的设置信息。通过配置,可以创建出Log4J的运行环境。1.
配置文件Log4J配置文件的基本格式如下:#配置根Loggerlog4j.rootLogge...
分类:
其他好文 时间:
2014-05-15 18:06:51
阅读次数:
233
区别:1、Assembly.LoadFile只载入相应的dll文件,比如Assembly.LoadFile("a.dll"),则载入a.dll,假如a.dll中引用了b.dll的话,b.dll并不会被载入。Assembly.LoadFrom则不一样,它会载入dll文件及其引用的其他dll,比如上面的...
分类:
其他好文 时间:
2014-05-15 18:02:16
阅读次数:
176