码迷,mamicode.com
首页 >  
搜索关键字:commons exec    ( 10534个结果
判断字符串中是否有SQL攻击代码
判断一个输入框中是否有SQL攻击代码public const string SQLSTR2 = @"exec|cast|convert|set|insert|select|delete|update|alter|drop|count|chr|varchar|nvarchar|nchar|char[ ...
分类:数据库   时间:2014-07-16 19:22:06    阅读次数:236
Java执行SQL脚本导入
今天做了一个用java导入sql脚本的功能,前台上传一个sql文件,后台先保存本地,然后进行导入。主要代码如下:Stringcmd="cmd/csqlplususr/pwd@{//服务器IP:1521/}sid@d:\\1.sql>d:\\t.log"; Processp=null; try{ p=Runtime.getRuntime().exec(cmd); }catch(IOExceptione){ e..
分类:数据库   时间:2014-07-15 11:07:43    阅读次数:292
exec命令
exec 命令实例find . -name "*.cc" -exec grep -P -n -H --color=auto "[^\w]main[^\w]" {} \;-P perl正则查找-n 显示行号-H 显示文件名--color=auto 关键字高亮显示[^\w]main[^\w] main关...
分类:其他好文   时间:2014-07-15 09:32:46    阅读次数:244
Spring定时器
导入如下jar包:commons-collections-3.2.jarcommons-logging.jarjta.jarlog4j-1.2.15.jarquartz-1.6.0.jarspring.jar配置time_bean.xml文件: ...
分类:编程语言   时间:2014-07-15 09:08:43    阅读次数:240
1.4、jwplayer-V6.8编译及编译验证
1.4.1、编译过程在编译环境配置完成后就可以在CMD中进行编译编译命令:ant –buildfile build.xml如图上所示编译成功(备注,编译过程中,get-revision:[exec]Result:1与编译结果没多大影响,可以忽略)1.4.2、编译是否成功验证Test.html(不能放...
分类:其他好文   时间:2014-07-15 00:26:49    阅读次数:263
使用注解实现ssh整合
1.搭建项目:项目名称:ss12.添加jar包1).struts2.3.7--基础asm-3.3.jarasm-commons-3.3.jarasm-tree-3.3.jarcommons-fileupload-1.2.2.jarcommons-io-2.0.1.jarcommons-lang3-3.1.jarfreemarker-2.3.19.jarjavassist-3.11.0.GA.jarognl-3.0.5.jarstruts2-core-2.3.7.jarxwork-c..
分类:其他好文   时间:2014-07-13 15:09:03    阅读次数:244
Caused by: java.lang.ClassNotFoundException: org.objectweb.asm.commons.EmptyVisitor
1、错误描述 2014-7-13 1:45:53 org.apache.struts2.spring.StrutsSpringObjectFactory info 信息: ... initialized Struts-Spring integration successfully 2014-7-13 1:45:54 org.apache.catalina.core.StandardContext...
分类:编程语言   时间:2014-07-13 13:52:00    阅读次数:527
Caused by: java.lang.ClassNotFoundException: org.apache.commons.fileupload.RequestContext
1、错误描述 usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2014-7-10 23:23:53 org.apache.catalina.core.AprLifecycleListener init 信息: Loaded...
分类:编程语言   时间:2014-07-13 00:04:33    阅读次数:472
Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang3.StringUtils
1、错误描述 2014-7-10 23:12:23 org.apache.catalina.core.StandardContext filterStart 严重: Exception starting filter struts2 java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils at com.opens...
分类:编程语言   时间:2014-07-12 21:34:37    阅读次数:649
Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.FileUtils
1、错误描述 警告: Could not create JarEntryRevision for [jar:file:/D:/MyEclipse/apache-tomcat-7.0.53/webapps/FirstSSH/WEB-INF/lib/struts2-core-2.3.16.3.jar]! java.lang.NoClassDefFoundError: org/apache/commo...
分类:编程语言   时间:2014-07-12 20:49:16    阅读次数:653
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!