码迷,mamicode.com
首页 >  
搜索关键字:context root cannot be empty    ( 74556个结果
用python执行Linux命令
例1:在python中包装ls命令#!/usr/bin/envpython#pythonwapperforthelscommandimportsubprocesssubprocess.call(["ls","-l"])在Linux中执行该命令[root@pydbpython]#pythonls.py...
分类:编程语言   时间:2014-05-10 01:32:55    阅读次数:377
报错:struts 404
错误信息:HTTP Status 404 - There is no Action mapped for namespace [/] and action name [updateUser!getUserByName] associated with context path [/123shop].
分类:其他好文   时间:2014-05-09 18:04:52    阅读次数:281
CentOS Linux 中文输入法安装及设置
安装:1.需要root权限,所以要用root登录,或suroot2.yum install"@ChineseSupport"3.exit4.回到桌面,system->preferences->inputmethod5.如果没有,先注销一下。6.按照提示添加输入法。7.最后 再次注销,登录即可。设置:...
分类:系统相关   时间:2014-05-09 17:44:03    阅读次数:379
Linux下oracle数据库启动和关闭操作
第一步:登陆root登陆之后切换到oracle用户上,输入su oracle第二步:连接在oracle用户下,输入sqlplus /nolog第三步:使用管理员权限输入connect /as sysdba第四步:启动/关闭服务输入startupstartup参数不带参数,启动数据库实例并打开数据库,...
分类:数据库   时间:2014-05-09 16:59:52    阅读次数:390
如何不花钱就能找到乐子
How to Find Happiness Without Buying It如何不花钱就能找到乐子Our materialistic society has led us to believe that happiness cannot be obtained without having mon...
分类:其他好文   时间:2014-05-09 11:57:25    阅读次数:363
关于catopen函数
关于catopen函数:参考网址:http://pubs.opengroup.org/onlinepubs/009695399/functions/catopen.html1)编辑消息文件[root@Master catlogTest]# vi msg1.euc1 Hello msg1.euc 12...
分类:其他好文   时间:2014-05-09 11:41:02    阅读次数:841
CAS 4.0.0RC 配置通过数据库认证用户登录
配置通过数据库认证用户登录打开webapp\WEB-INF目录下的deployerConfigContext.xml,替换 为 com.mysql.jdbc.Driver jdbc:mysql://localhost:3306/db_name root 使用j...
分类:数据库   时间:2014-05-09 11:31:43    阅读次数:477
winform 记录全局异常捕获
原文:winform 记录全局异常捕获这篇文章主要是备用记录winform程序捕获全局异常。 /// /// 应用程序的主入口点。 /// public static ApplicationContext context; [STAThread] private static void Main()...
分类:Windows程序   时间:2014-05-08 22:01:18    阅读次数:465
多个APK之间简单数据共享
在APK的manifest节点中保证其 android:sharedUserId="hello.miles" 保持一致,名称可以自定义// 创建共享数据的APK 其manifest包名为com.miles.sharedataSharedPreferences sp = Context.getSha....
分类:其他好文   时间:2014-05-08 21:44:45    阅读次数:279
EF报错调试
当使用EF中context.SaveChanges()的时候会报一串让查看详细信息的错误,这个错误不是真正的报错原因,如果想看真正的原因,要关掉EF的验证,如下:context.Configuration.ValidateOnSaveEnabled = false;后在调用SaveChanges()...
分类:其他好文   时间:2014-05-08 21:27:51    阅读次数:256
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!