Request.ServerVariables("Url")返回服务器地址Request.ServerVariables("Path_Info")客户端提供的路径信息Request.ServerVariables("Appl_Physical_Path")与应用程序元数据库路径相应的物理路径Requ...
分类:
其他好文 时间:
2014-06-15 22:28:53
阅读次数:
265
最近学习大数据的处理,由于项目开发的需要,使用一种简单的方式来将Excel中的数据导入到数据库中,开发使用的kettle工具。 kettle工具安装很简单,从官网上下载下来之后,直接解压到制定的盘符下即可(前提是你配置了JAVA的环境变量,path,classpath)。 在WINDOWS环境下双击...
分类:
数据库 时间:
2014-06-15 22:10:06
阅读次数:
412
mac svn 删除.svn隐藏文件的命令打开终端,进到所在的目录,然后出入一下代码find . -name ".svn" | xargs rm -Rf1、将文件checkout到本地目录svn checkout path(path是服务器上的目录)例如:svn checkout svn://192...
分类:
其他好文 时间:
2014-06-15 20:51:44
阅读次数:
307
1、项目根目录(tomcat、web项目)String path = ServletActionContext.getServletContext().getRealPath("");System.out.println(path);想要获取图片存放的位置,则为String path = Servl...
分类:
其他好文 时间:
2014-06-15 16:27:14
阅读次数:
205
参考http://www.cnblogs.com/sunada2005/p/3536891.html然后它的这一步修改一下打开eclipse->windows->preferences->java->build path->user libraries,点击new,新建一个library,可取名为h...
分类:
系统相关 时间:
2014-06-15 00:57:07
阅读次数:
295
$infos = @{}$infos.Path ='c:\Windows'$infos.Recurse =$true$infos.Filter ='*.log'$infos.ErrorAction ='SilentlyContinue'$infos.Remove('Recurse')dir@info...
分类:
其他好文 时间:
2014-06-14 21:49:24
阅读次数:
234
Question:Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the below binary tree, .....
分类:
其他好文 时间:
2014-06-14 20:59:07
阅读次数:
188
Decription:Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, gi...
分类:
其他好文 时间:
2014-06-14 19:46:12
阅读次数:
251
下面是把sourceDir文件夹下的以.JPG结尾的文件全部复制到targetDir文件夹下:
>>>import os
>>> import os.path
>>> import shutil
>>> def copyFiles(sourceDir,targetDir):
for files in os.listdir(sourceDir):
sourceFile = os.path....
分类:
编程语言 时间:
2014-06-14 14:40:17
阅读次数:
283
在多个工程当中,可能使用到相同的jar包,这时,如果我们建立一个自己的类库,该类库中存放着所有工程均需要的jar包,就可以免去重复导入的麻烦。来看一下操作的主要步骤与过程。
Eclipse--->preferences(译偏爱,偏好)---->java-->Build path--->userlibiraries-->new 输入自己命名(这里我创建的是myLibrary),点击add jars...
分类:
系统相关 时间:
2014-06-14 11:00:37
阅读次数:
249