1.获取所有的提交到服务器的文件集合HttpFileCollection fileColl= Request.Files;2.取得一个文件(这里是一张照片) HttpPostedFile pic = fileColl[0];3.判断文件是否为空 1.获取服务器存放图片的物理路径(Server...
分类:
其他好文 时间:
2014-07-19 19:04:03
阅读次数:
188
提示缺少套件啦?别担心,Homebrew随时守候。$ brew install wgetHomebrew 会将套件安装到独立目录,并将文件软链接至/usr/local。$ cd /usr/local$ find CellarCellar/wget/1.15Cellar/wget/1.15/bin/w...
分类:
其他好文 时间:
2014-07-19 17:01:44
阅读次数:
177
解决 ff cookie 丢失问题Global.asax 中: protected void Application_BeginRequest(object sender, EventArgs e) { var Request = HttpContext....
分类:
Web程序 时间:
2014-07-19 16:33:56
阅读次数:
279
Html代码选择角色说明:其中#request.roleuserList对应后台放入request作用域的roleuserList这个list;listKey="roleId"这里的roleId对应后台roleuserList中role这个bean的属性roleId,listKey也是将要传入后台的...
分类:
其他好文 时间:
2014-07-19 16:23:19
阅读次数:
221
一.安装Mongodb的PHP扩展wget http://pecl.php.net/get/mongo-1.2.7.tgz //下载扩展包tar zxvf mongo-1.2.7.tgzcd mongo-1.2.7/usr/local/php/bin/phpize./configure -with-...
分类:
数据库 时间:
2014-07-19 09:00:43
阅读次数:
370
代码发布流程:代码上线:通过工具进行代码分发,分发方式:push(推)、pull(拉)一般拉得方式比较安全一些。工具:jenkins测试:使用wordpressinstallation:wget-O/etc/yum.repos.d/jenkins.repohttp://pkg.jenkins-ci.org/redhat/jenkins.reporpm--importhttp://pkg.jenkin..
分类:
其他好文 时间:
2014-07-19 02:14:15
阅读次数:
349
安装步骤:1、首先下载GCC 4.1.2的source code package:$ wget http://mirrors.ustc.edu.cn/gnu/gcc/gcc-4.1.2/gcc-4.1.2.tar.bz22、解压缩之:$ bzcat gcc-4.1.2.tar.bz2 | tar x...
分类:
系统相关 时间:
2014-07-19 00:14:30
阅读次数:
333
自动安装:
1、通过快捷键 ctrl+` 或者 View > Show Console 菜单打开控制台
2、粘贴对应版本的代码后回车安装
适用于 Sublime Text 3:
import urllib.request,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_p...
分类:
其他好文 时间:
2014-07-18 18:08:25
阅读次数:
188
写入:private void insertFile(HttpServletRequest request, HttpServletResponse response) throws IOException { String path_member = reque...
分类:
数据库 时间:
2014-07-18 17:34:09
阅读次数:
316
http://homepage.smc.edu/morgan_david/cs40/analyze-ext2.htmhttp://blog.csdn.net/lingfengchina/article/details/6740233
分类:
其他好文 时间:
2014-07-18 13:23:52
阅读次数:
204