非常可能是因为tomcat的lib文件夹jar包和项目的lib文件下的jar包冲突了把项目下lib文件下和tomcat的jar的重复的全部删除。注意,如果你是先建flex工程然后转成web形式的,请把项目中tomcat类库删除,不然还会冲突第二种解决办法修改了tomcat里的context.xml文...
分类:
其他好文 时间:
2014-07-22 22:58:14
阅读次数:
159
问题:运行gsl(GNU scientific Library)的函数库,用gcc erf.c -I/usr/local/include -L/usr/local/lib64 -L/usr/local/lib -g -Wall --std=gnu99 -lgsl -lgslcblas -o m.o编...
分类:
其他好文 时间:
2014-07-22 22:54:54
阅读次数:
591
select下拉列表onChange事件之JQuery实现:Java代码JQuery:$(document).ready(function(){$("#selectMenu").bind("change",function(){if($(this).val()=="pro1"){$("#pro1")...
分类:
Web程序 时间:
2014-07-22 22:54:54
阅读次数:
307
There is a meaning for wings that cannot fly,it's a previous memory of when you once flew through the sky.——Anonymous。 这个夏天看的第一部关于夏天的动漫,记忆中,观铃仰望天...
分类:
其他好文 时间:
2014-07-19 21:18:36
阅读次数:
236
修改其值的最快方式:创建:Mutable StorageTo create mutable storage for a buffer object, you use this API:voidglBufferData?(enum target, sizeiptr size, const void *...
分类:
其他好文 时间:
2014-07-19 21:10:18
阅读次数:
425
昨天晚上一个坑爹的问题折腾了我一晚上,首先我来说下我的代码,我建立了一个index的控制器然后呢 在控制器里有一个index的方法。页面模板都有。if ( ! defined('BASEPATH')) exit('No direct script access allowed');class In....
分类:
其他好文 时间:
2014-07-16 16:57:34
阅读次数:
208
今天在编写model时,突然发现了“Cannot assign to 'self' outside of a method in the init family”问题。后通过搜索解决了此问题,记录之。有时候我们重写父类的init方法时不注意将init后面的第一个字母写成了小写,在这个方法里面又调用父...
分类:
其他好文 时间:
2014-07-16 15:44:36
阅读次数:
193
一般情况下,yii框架的CActiveForm组建的提示是英文的,把它改成中文提示首先在main.php配置文件中,设置'language'=>'zh_cn';这样将会使得cannot be blank显示为不能为空然后再到相应的模型中添加相应的中文注释,这样,提示都将变成中文提示。
分类:
其他好文 时间:
2014-07-16 15:19:26
阅读次数:
221
W?i?n?d?o?w?s?2?0?0?3?建?立?F?T?P?服?务?器: W?i?n?d?o?w?s?2?0?0?3?建?立?F?T?P?服?务?器FTP连接报530User cannotloginhomedirectoryinaccessible的解决方法感谢分享:http:/...
分类:
数据库 时间:
2014-07-16 14:56:43
阅读次数:
213
1.Model compatibility cannot be checked because the EdmMetadata type was not included in the model. Ensure that IncludeMetadataConvention has been add...
分类:
Web程序 时间:
2014-07-16 13:44:15
阅读次数:
255