08 2014 档案

摘要:js中文乱码我的页面是uft-8,处理中文还是乱码,所在在处理页面增加了request.setCharsetEncoding("UFT-8");//////////////////////////////////////////页面:(.jsp)response.setContentType("te... 阅读全文
posted @ 2014-08-29 14:24 穆晟铭 阅读(936) 评论(0) 推荐(0) 编辑
摘要:yii CComponent组件 实例说明yii中的module,controller都是CComponent的子类,可以说yii的架构基石就是依托在CCompnent基础上的,这里研究下CComponent。另外写一个简单的组件应用示例。希望可以帮助到大家。component有三个基础特性,属性(... 阅读全文
posted @ 2014-08-28 23:23 穆晟铭 阅读(480) 评论(0) 推荐(0) 编辑
摘要:YII第三步,日志开启index.php入口文件配置;defined('YII_DEBUG') or define('YII_DEBUG',true);cofig/main.php'preload'=>array('log'), 'log'=>array( 'class'=>'... 阅读全文
posted @ 2014-08-28 22:13 穆晟铭 阅读(342) 评论(0) 推荐(0) 编辑
摘要:yii第二步:main.php'urlManager'=>array('urlFormat'=>'path','rules'=>array('game/guess/'=>'game/guess','gou/games/'=>'gou/game',//index.php/gou/d(实际地址) => ... 阅读全文
posted @ 2014-08-28 22:10 穆晟铭 阅读(254) 评论(0) 推荐(0) 编辑
摘要:第一步:index.php// include Yii bootstrap filerequire_once(dirname(__FILE__).'/../../framework/yii.php');defined('YII_DEBUG') or define('YII_DEBUG',true);... 阅读全文
posted @ 2014-08-28 22:05 穆晟铭 阅读(163) 评论(0) 推荐(0) 编辑
摘要:转自:http://bbs.gfan.com/android-5941970-1-1.htmlWindows7安装JDK的环境变量设置Windows7 X64安装“jdk-6u26-windows-x64.exe”后,按照网上的环境变量设置方法设置了环境变量,但是死活都提示“javac不是内部命令或... 阅读全文
posted @ 2014-08-20 11:45 穆晟铭 阅读(8468) 评论(2) 推荐(2) 编辑
摘要:the host may be down,or there may be a problem with the network connection.Sometimes such problems can also be caused by a misconfigured firewall.遇到这样... 阅读全文
posted @ 2014-08-04 22:17 穆晟铭 阅读(2138) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示