码迷,mamicode.com
首页 >  
搜索关键字:session id    ( 83322个结果
ComboBoxPropertyDescriptor 使用注意事项
ComboBoxPropertyDescriptor 1、public void setPropertyValue(Object id, Object value)  value为ComboBox中值的序号,而不是ComboBox中显示的名字. 2、public Object getPropertyValue(Object id) 返回的是序号需要转换为Integer类型。否则可能不显示可...
分类:其他好文   时间:2014-05-01 22:02:53    阅读次数:387
Yii 丢失controller ID问题
用YII很久了今天看老代码发现了一个致命又气人的bug: “'SiteController cannot find the requested view "index". ” 在这个项目里对应的views/site/index.php文件都有,但是为什么还报了这个错呢, 于是开始看内核代码: public function getViewFile($viewName) { if(($t...
分类:其他好文   时间:2014-05-01 21:59:39    阅读次数:454
页面之间值传递常用的几种方式
1.使用QuerySting在页面间传递值 2.使用Session变量...
分类:其他好文   时间:2014-05-01 17:27:48    阅读次数:331
c++调用基类的构造函数(模板类)
代码如下 #include #include #include using namespace std; template class Base { public: Base(T name); virtual void toString(); protected: T id; }; template Base::Base(T n) { printf("B...
分类:编程语言   时间:2014-04-30 22:27:39    阅读次数:450
追踪sql会话 dbms_monitor
经常会遇到一个会话中存在sql性能问题,但无法定位哪一个sql导致DB性能问题较高,这是我们需要对这个session进行监控可以通过dbms_monitor包来实现。 首先确定要监控的会话sid及serial#,可以通过v$session视图获得 select sid, serial#, username from v$session  where ... 确定session...
分类:数据库   时间:2014-04-30 22:23:38    阅读次数:413
php提取csv格式文件中的字符串出现的问题及解决办法
php带csv格式的数据要用到fgetcsv()函数。用这下面的语句$hd=fopen('test.csv','r'); $buf=fgetcsv($hd,1000,',');打开一个test.csv格式的文件,文件中的内容以","号分开。 取出的第一行代表自动含义,比如 id,messaget,time等等。 从第二行开始表示具体的数据,比如1,消息,12:00。 if($buf[1]...
分类:Web程序   时间:2014-04-30 22:16:38    阅读次数:385
roid imageView图片按比例缩放
android:scaleType可控制图片的缩放方式,示例代码如下: 1 ImageView android:id="@+id/img" 2      android:src="@drawable/logo" 3      android:scaleType="center...
分类:其他好文   时间:2014-04-29 13:44:20    阅读次数:376
Tomact集群
http://blog.chinaunix.net/uid-12380499-id-105320.html...
分类:其他好文   时间:2014-04-29 13:26:21    阅读次数:194
msyql中查询某个字段的不重复的所有记录
mysql> select * from a ;  +----+------+--------------+ | id | name | descri       | +----+------+--------------+ |  1 | a1   | 我是第一个a1 | |  2 | a2   | 我是第一个a2 | |  3 | a3   | 我是a3       | |  4...
分类:其他好文   时间:2014-04-29 13:16:21    阅读次数:228
org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not
org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not...
分类:系统相关   时间:2014-04-29 13:15:20    阅读次数:411
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!