其他
异常问题: IllegalArgumentException: argument type mismatch at cn.tedu.utils.BeanListHandler.handle(BeanListHandler.java:41) 从dao层查询出的数据转发到jsp前台页面时,数值或者数量类 ...
一:经常使用工具条上的定义 // 工具条 var toolbar = Ext.create("Ext.Toolbar", { items : [ yearCbo,zoneCbo,indexCbo,srchBtn] }); // 年度 var yearCbo = { xtype : 'numberfi ...
class Solution { public: int lengthOfLongestSubstring(string s) { int hashTable[255]; fill(hashTable, hashTable+255, -1); int start = 0, maxLen = 0; f... ...
Once upon a time there was a famous actress. As you may expect, she played mostly Antique Comedies most of all. All the people loved her. But she was ...
普通的数据库连接 连接资源宝贵,需要对连接进行管理, 操作数据:创建连接 操作结束:关闭连接 分析:然而在程序中频繁的打开和关闭连接会影响程序的运行的效率 自定义的数据库的连接池: 预先创建一个连接,用的时候取出一个,用完后放回。能够提高程序的运行效率。 ...
题目描述 一个学校里老师要将班上N个同学排成一列,同学被编号为1~N,他采取如下的方法: 1.先将1号同学安排进队列,这时队列中只有他一个人; 2.2~N号同学依次入列,编号为i的同学入列方式为:老师指定编号为i的同学站在编号为1~i -1中某位同学(即之前已经入列的同学)的左边或右边; 3.从队列 ...
这两天学习了Vue.js 感觉组件这个地方知识点挺多的,而且很重要,所以,今天添加一点小笔记,学习一下Vue键盘事件 键盘事件 ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 <!DOCTYPE html> ...
map m1.insert( pair <string, int>("str", 10 ) );m1.insert( pair <string, int>("str1", 11 ) );m1.insert( pair <string, int>("str", 12 ) ); 不会插入键相同的值,也就 ...
参靠了网上一些关于zabbix添加Tomcat的监控配置,自己整理了下: 一、服务器端配置1、找到zabbix源码存放路径 2、安装Zabbix-Java-gateway 3、修改Java-gateway的配置文件并启动它 4、修改zabbix_server的配置文件并重启 二、客户端配置1、给to ...