- 详解mybatis的一二级缓存以及缓存失效原因
仰望天花板
缓存数据库mybatisjavamysql
数据库的大部分场景下是从磁盘读取,如果数据从内存进行读取,速度较比磁盘要快得多。但因为内存的容量有限,所以一般只会把使用和查询较多的数据缓存起来,以便快速反应,其他使用率不太多的继续存放在磁盘。mybatis分为一级缓存和二级缓存1.一级缓存一级缓存存放在SqlSqeeion上,默认开启1.1pojo@DatapublicclassRole{privateLongid;privateStringr
- WORD批量转换器MultiDoc Converter
uolian
工作word
WORD批量转换器MultiDocConverterhttps://www.52pojie.cn/thread-1318745-1-1.html可批量将doc、docx等文件格式转成doc、docx、pdf、rtf、txt、html、epub等格式。安装包下载地址:https://wws.lanzouj.com/irvVbiz0pkd最终下载文件打包地址(未作成单文件,不确定是否可以直接使用):h
- MyBatis系统学习(一)——项目结构及其含义
OEC小胖胖
MyBatismybatis学习web后端
1.MyBatis简介MyBatis是一款优秀的持久层框架,它通过SQL映射的方式实现Java对数据库操作的映射,既保留了SQL语句的灵活性,也简化了代码的编写。在一个MyBatis项目中,核心部分主要有:配置文件(mybatis-config.xml)映射文件(Mapper.xml)实体类(Entity/POJO)接口类(Mapper接口)MyBatis会话工厂(SqlSessionFactor
- 1.25-1.26 Coordinator数据集和oozie bundle
weixin_30851867
一、Coordinator数据集二、ooziebundle转载于:https://www.cnblogs.com/weiyiming007/p/10881260.html
- SpringBoot项目
俺叫啥好嘞
spring系列springspringboot
SpringBoot项目大概分为四层:(1)DAO层:包括XxxMapper.java(数据库访问接口类),XxxMapper.xml(数据库链接实现);(这个命名,有人喜欢用Dao命名,有人喜欢用Mapper,看个人习惯了吧)(2)Bean层:也叫model层,模型层,entity层,实体层,就是数据库表的映射实体类,存放POJO对象;(3)Service层:也叫服务层,业务层,包括XxxSer
- 【正奇说:】第639期:为什么那些传授108套抗拒点的套路话术无法应用
毛正奇
以往你是否听过一些销售培训师,传授一些回答客户疑问的话术后,一开始你感觉非常有用,关键是你有将这些内容学习过一遍吗?更关键的是你能够将其应用到你的日常销售业务中吗?答案是:几乎没有!比如:108套回答客户拒绝的话术,以及365个解答客户疑问的方法,甚至还有1088个消除客户抗拒点的套路等等。毕竟”套路“一词就属于贬义词,感觉心术不正、起心动念偏歪的感觉;同时一个课程对你是否有用,不在于其介绍的方法
- 数据结构OJ作业——队列
nnbs
数据结构数据结构poj队列
POJ3984:http://poj.org/problem?id=3984迷宫,输出最短路径,bfs#include#include#include#includeusingnamespacestd;intmaze[5][5];pairpath[5][5];queue>q;intdx[]={1,-1,0,0};intdy[]={0,0,1,-1};voidbfs(intx,inty){q.pus
- 新冠l转战绥芬河
会宁248南有亮
截至4月12日12:15,全球新冠肺炎确诊1776157例,死亡108804例。关注全球新冠肺炎疫情动态。绥芬河,一座位于黑龙江省东南部的边境小城,连日来因境外输入病例持续增加,频频出现在新闻报道里。这个被当地居民戏称为“连病毒都找不到的地方”,以这种方式被全国人民关注,恐怕谁都未曾想到。根据黑龙江省卫健委4月12日通报,4月11日0—24时,绥芬河口岸新增境外输入确诊病例21例(全部中国籍),新
- 2023-11-11
感恩学习相信小陶
感恩!六点签到人的一生只是一场电化学反应的体验合集,各种各样的经历都可以解释为内部的电化学反应,生不带来、死不带去,但可以留下点儿东西,比如我们的思想和作品。那些体验本身被分为被动式体验和主动式体验。一切能用金钱买来的都是被动式体验;一切必须要刻意练习、不断进阶、不断提高的体验就是主动式体验。看电影、做按摩、买名牌皮包或豪车都是被动式体验;弹钢琴、滑雪、做奥数、下围棋、开赛车、创办企业、做公益等都
- 2023-02-04
偏偏喜欢你sky
2023.2.3周五晴希望上课顺利,希望早点起来精神满满。宝要去夜场滑雪,上了班就盼着休息啊。六点40起来,活动一下刷游戏,继续燕麦杯香蕉52.3希望继续保持并再减掉一点。刷游戏运动,还是对同事调走的事情感慨啊,做了三个荷包蛋一点也吃不下去,老公送上班,让他帮我打印年终总结。上课很顺利,很开心,上完课之后老公可以来接我,给宝买了吸管和纸杯,要做实验。回到家已经11:00了,我打算不吃什么东西了,还
- c语言练习:POJ 1005 我想我需要一艘船屋(I Think I Need a Houseboat)
七月初七淮水竹亭~
C语言入门c语言
题目相关信息描述弗雷德·马珀(FredMapper)正在考虑在路易斯安那州购买一些土地来建造他的房子。在调查这片土地的过程中,他了解到,由于密西西比河造成的侵蚀,路易斯安那州实际上每年都在缩小50平方英里。由于弗雷德希望一辈子都住在这所房子里,他需要知道他的土地是否会因侵蚀而消失。在做了更多的研究之后,弗雷德了解到正在失去的土地形成了一个半圆形。这个半圆是以(0,0)为中心的圆的一部分,将圆平分的
- 2023-05-15
偏偏喜欢你sky
2023.5.14周日今天也要加班,今天是母亲节但是我没有礼物。那就给自己吃点好吃的吧,白天去爸那看看,八点才起来,但是睡得很不舒服,梦见自己是个黑人,但是住在十分华丽的大厦,还梦见要去上晚课,但是钟停了于是就迟到了半小时,拼命往学校去,学校离家很远,是坐着飞速的像电梯一样的轨道去的,一会滑雪一会滑梯,还梦见自己留了长头发扎起来,画眉毛的时候怎么也画不好,还把口红当眉笔,不知道是怎么想的,因为昨晚
- the Winter Olympics
俗世尘沙
正文AbriefguidetoeverysportattheWinterOlympics冬奥会各运动项目简介Alpineskiing,11goldmedalsawarded高山滑雪,颁发11枚金牌加入会员可查看Thedisciplinesincludedownhill,thefastestevent;super-G,withmoreturnsadded;giantslalom,stillmoret
- java开发中pojo、model和entity的区别及DTO与VO
leighy
javaspringbootmvc
一、pojo(PlainOrdinaryJavaObject无规则简单Java对象)简单java对象简单的javabean的对象,对应数据库某一张表,表的字段与pojo类的属性都要一一对应?(查阅发现没有具体对pojo描述,有的说是作为业务协作类不需要一一对应)但在实际开发中较少以pojo来对包命名。二、entity(实体类)数据表对应到实体类的映射则类属性与数据库表字段一一对应在实际开发中较多以
- SpringData JPA之Respository接口的使用
OVA_Won
SpringDatamysqljavaspring
SpringDataJPA之Respository接口的使用Respository:最顶层的接口也是标志接口,目的是为了统一所有Repository的类型,且能让组件扫描的时候自动识别。准备工作导入JAR包:别忘了导入Junit测试包,否则后面没法单元测试编写Spring和数据库配置文件applicationContext.xml文件com.OVA.pojojdbc.propertiesjdbc.
- POJ 1062 : 昂贵的聘礼 - 最短路Dijkstra+枚举(难)
bookybooky
图论最短路Dijsktrapojzoj图论
dijkstra处理权值非负情形,最近才开始看最短路。题目大意:(中文题容易理解)大致就是说,最终要得到酋长的许诺,每件物品可能有其他物品(1件)能让此物品价格优惠,你可通过交易获得物品从而以最少金钱达到酋长许诺。交易受到“等级限制”。其中的等级限制处理需要一定的技巧,细节一定要处理好!输入:(单Case输入)第一行两个整数M,N(1>30)-1足够,邻接矩阵用int也足够,并不像DISCUSS中
- 谷爱凌的成功靠的不仅仅是方法和技巧,更重要的是战胜自己的心态
柔风细语阅成长
2022年的冬奥会,谷爱凌可谓是最耀眼的星。她参加三个项目,获得了2金1银,以优异的成绩完美收官。仅仅十几天的时间,谷爱凌这三个字就被大家所熟知。谷爱凌第一次参加冬奥会,能有如此优异成绩,不仅仅是她掌握了滑雪的方法和技巧,更重要的是她赢得了心态。她开朗、乐观、勇敢、无畏的精神令人钦佩。她还是个会享受的孩子,享受美食,享受学习,享受滑雪。谷爱凌拥有积极的心态:1.保持良好的状态,保证良好的睡眠时间;
- HDU2196Computer 树形dp
Vibrant
传送门解法1树的直径参考博客#include//树的直径#defineMAXN10010usingnamespacestd;typedefpairP;intdis[MAXN],Max,root;vectora[MAXN];voidInit(intn){Max=0;for(inti=1;iMax)Max=sum,root=now;for(inti=0;i//记忆化搜索#defineMAXN10010
- 爬取微博热搜榜
带刺的厚崽
python数据挖掘开发语言
201911081102汤昕宇现代信息检索导论实验一程序运行的截图:[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-GimpWjCB-1639531088565)(程序运行截图.png)]当时微博热搜的截图[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-lDXRgrxa-1639531088568)(微博热搜截图.png)]对应的CSV截
- 夜爬海陀
清风小舟
海坨山位于延庆县西北部,属军都山系,距延庆县城约18公里,是中国国家地理杂志社评选出的十大“非著名”山峰之一,主峰大海坨居北,海拔2241米,为北京市第二高峰,小海坨在大海坨南侧,海拔2199米。曾是北京驴友最爱的后花园。2015年7月31日北京申奥成功,小海坨山将成为2022年冬奥会高山滑雪场地。以后驴友们可能就不能再像以前一样恣意的游走于此了,故重发本人以前的游记,以此留念。实在没想到,201
- 滑雪篇——初体验
夏木yi
图片发自App滑雪普遍认可的是起源于现在的斯堪的纳维亚地区。地面上一年最多八个月覆盖着厚厚的积雪。所以居住在那里的人们发明了一种行走方式,就是用带子将木板绑在脚上,防止双脚陷入雪中,这便是滑雪板的雏形。今天一早起来,拉开窗帘,看见阳光明媚,天气晴朗。想想冬天也没有什么其他好玩的,于是打算约三五好友去滑雪。最后我们成功约到三个小可爱。我们一行总共5个人。三位女生,两位男生。虽然我们三个女生都没有滑过
- monorepo搭建项目
讨口子
笔记javascript前端vue.js
yarnmonorepo这里:https://juejin.cn/post/7081440800143310884安装pnpmmonorepo的项目,限制只能使用pnpm如果已经安装了pnpm可以跳过此步骤安装pnpm命令:npmipnpm-g初始化项目首先新建一个文件夹,名为vue3-pnpm-monorepo进入vue3-pnpm-monorepo文件夹,初始化一个默认的package.jso
- 【Mybatis】Web中的数据库操作
科马
java数据库mybatisservletsql
Mybatis工作机制1.加载配置文件:2.创建SqlSessionFactory:3.获取SqlSession:4.获取Mapper接口:5.执行SQL语句:6.SQL语句解析和执行:7.结果映射:8.事务管理:9.关闭SqlSession:10.返回结果:与JDBC对比三个显著特点代码示例1.配置MyBatis2.创建数据库表3.创建POJO类4.编写Mapper接口5.编写SQL映射文件6.
- spring揭秘-概念以BeanFactory介绍
liangxifeng833
本质:Spring框架为POJO提供的各种服务共同组成了Spring的生命之树Paste_Image.pngspring框架为基础,有很多家庭成员,比如(SpringWebFlow,SpringWebServices,SpringSecurity,SpringBatch等等),这些家族成员全部以ApacheLisenceVersion2.0协议发布,共同组成了SpringProjects组合,因为
- 2019-02-22儿子第一次独自在家
偲儿
昨天是我们上班前开会的第一天,儿子前一天晚上去滑雪了,所以没有让他起那么早,结果晚上一回家发现,儿子并没有在奶奶家。我们赶快回家去接他,一进门发现儿子正在家里吃馄饨呢,一个人很开心地在家里待了一大天啊。特别有趣的是他自己在家里写了作业中午午睡还看了电视,看来过得特别的自由奶奶对他是特别担心的,把奶奶都吓哭了。我是对儿子很放心的,我觉得他就是在家里自己玩了。回想我的小时候,很小的时候一直都是自己和哥
- 说话的魅力-No.46 熊猫的梦想
春梅cm
【笑引子】要送上床吗?有一天,我去某个酒店看一位海外来的朋友。上了计程车,司机问我到哪里。我就拿出朋友的信息念到:“台北市某路某号某酒店1088房。”这时就见司机一笑:“沙发上?”这个司机多么幽默风趣啊!他的意思我只要告诉他地址某饭店就可以了!何必要报房号,顺势就问:“是不是要送到沙发上?”有钱娶我么?我大学时有一个朋友很花,为了找漂亮妞,他甚至会去他家附近的大学,旁听夜间部的课。在那里,他看上了
- SpringBoot项目中使用SpringData-JPA持久化数据
火星刻苦的杏仁
springbootjavamybatis
目录一、什么是JPA二、SpringData-JPA与MybatisPuls的区别三、项目中使用JPAJPA常用注解JPA进阶使用技巧一、什么是JPAJPA是JavaPersistenceAPI的简称,中文名Java持久层API,其设计目标主要是为了简化现有的持久化开发工作和整合ORM技术。简单地说,JPA就是为POJO(PlainOrdinaryJavaObject)提供持久化的标准规范,即将J
- 算法入门篇(八) 之 查找算法
战族狼魂
算法哈希算法
目录一、哈希表哈希函数哈希函数的应用常见的哈希函数线性探测、二次探测、链地址1.线性探测(LinearProbing)2.二次探测(QuadraticProbing)3.链地址法(Chaining)4.总结POJ3349、POJ1840、POJ2002POJ3349-AncientCipherPOJ1840-MaximumNumberPOJ2002-TournamentScheduling二、字符
- 谷爱凌妈妈谷燕身份曝光,离婚后独自带娃,豪掷千万购买学区房
Jack拓宇
随着谷爱凌在冬奥会上的夺冠,有越来越多的人关注到了这个滑雪天才少女,人们惊叹于她超高的天赋,不但在运动上能屡屡斩获世界冠军,在学业上也丝毫不弱,早在17岁就考上了世界级名校斯坦福。很多网友都很好奇,到底是什么样的父母才能培养出如此优秀的孩子,其实谷爱凌的母亲还真不是一般人。如果说谷爱凌是“滑雪公主”,谷爱凌的妈妈谷燕,则是真正的“女王”,事业孩子两手抓。谷爱凌妈妈谷燕曝光,曾是“霸道女总裁”谷爱凌
- Spring AI
java_heartLake
人工智能人工智能springjava
本文介绍Spring的一级项目SpringAI简介:SpringAI是一个用于AI工程的应用程序框架。其目标是将Spring生态系统的设计原则(如可移植性和模块化设计)应用于AI领域,并推动将POJO(PlainOldJavaObjects,简单老式Java对象)作为应用程序的构建块引入到AI领域。主要特性:支持跨AI提供商的便携式API,用于聊天、文本到图像和嵌入模型。同时支持同步和流API选项
- java短路运算符和逻辑运算符的区别
3213213333332132
java基础
/*
* 逻辑运算符——不论是什么条件都要执行左右两边代码
* 短路运算符——我认为在底层就是利用物理电路的“并联”和“串联”实现的
* 原理很简单,并联电路代表短路或(||),串联电路代表短路与(&&)。
*
* 并联电路两个开关只要有一个开关闭合,电路就会通。
* 类似于短路或(||),只要有其中一个为true(开关闭合)是
- Java异常那些不得不说的事
白糖_
javaexception
一、在finally块中做数据回收操作
比如数据库连接都是很宝贵的,所以最好在finally中关闭连接。
JDBCAgent jdbc = new JDBCAgent();
try{
jdbc.excute("select * from ctp_log");
}catch(SQLException e){
...
}finally{
jdbc.close();
- utf-8与utf-8(无BOM)的区别
dcj3sjt126com
PHP
BOM——Byte Order Mark,就是字节序标记 在UCS 编码中有一个叫做"ZERO WIDTH NO-BREAK SPACE"的字符,它的编码是FEFF。而FFFE在UCS中是不存在的字符,所以不应该出现在实际传输中。UCS规范建议我们在传输字节流前,先传输 字符"ZERO WIDTH NO-BREAK SPACE"。这样如
- JAVA Annotation之定义篇
周凡杨
java注解annotation入门注释
Annotation: 译为注释或注解
An annotation, in the Java computer programming language, is a form of syntactic metadata that can be added to Java source code. Classes, methods, variables, pa
- tomcat的多域名、虚拟主机配置
g21121
tomcat
众所周知apache可以配置多域名和虚拟主机,而且配置起来比较简单,但是项目用到的是tomcat,配来配去总是不成功。查了些资料才总算可以,下面就跟大家分享下经验。
很多朋友搜索的内容基本是告诉我们这么配置:
在Engine标签下增面积Host标签,如下:
<Host name="www.site1.com" appBase="webapps"
- Linux SSH 错误解析(Capistrano 的cap 访问错误 Permission )
510888780
linuxcapistrano
1.ssh -v
[email protected] 出现
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
错误
运行状况如下:
OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013
debug1: Reading configuratio
- log4j的用法
Harry642
javalog4j
一、前言: log4j 是一个开放源码项目,是广泛使用的以Java编写的日志记录包。由于log4j出色的表现, 当时在log4j完成时,log4j开发组织曾建议sun在jdk1.4中用log4j取代jdk1.4 的日志工具类,但当时jdk1.4已接近完成,所以sun拒绝使用log4j,当在java开发中
- mysql、sqlserver、oracle分页,java分页统一接口实现
aijuans
oraclejave
定义:pageStart 起始页,pageEnd 终止页,pageSize页面容量
oracle分页:
select * from ( select mytable.*,rownum num from (实际传的SQL) where rownum<=pageEnd) where num>=pageStart
sqlServer分页:
 
- Hessian 简单例子
antlove
javaWebservicehessian
hello.hessian.MyCar.java
package hessian.pojo;
import java.io.Serializable;
public class MyCar implements Serializable {
private static final long serialVersionUID = 473690540190845543
- 数据库对象的同义词和序列
百合不是茶
sql序列同义词ORACLE权限
回顾简单的数据库权限等命令;
解锁用户和锁定用户
alter user scott account lock/unlock;
//system下查看系统中的用户
select * dba_users;
//创建用户名和密码
create user wj identified by wj;
identified by
//授予连接权和建表权
grant connect to
- 使用Powermock和mockito测试静态方法
bijian1013
持续集成单元测试mockitoPowermock
实例:
package com.bijian.study;
import static org.junit.Assert.assertEquals;
import java.io.IOException;
import org.junit.Before;
import org.junit.Test;
import or
- 精通Oracle10编程SQL(6)访问ORACLE
bijian1013
oracle数据库plsql
/*
*访问ORACLE
*/
--检索单行数据
--使用标量变量接收数据
DECLARE
v_ename emp.ename%TYPE;
v_sal emp.sal%TYPE;
BEGIN
select ename,sal into v_ename,v_sal
from emp where empno=&no;
dbms_output.pu
- 【Nginx四】Nginx作为HTTP负载均衡服务器
bit1129
nginx
Nginx的另一个常用的功能是作为负载均衡服务器。一个典型的web应用系统,通过负载均衡服务器,可以使得应用有多台后端服务器来响应客户端的请求。一个应用配置多台后端服务器,可以带来很多好处:
负载均衡的好处
增加可用资源
增加吞吐量
加快响应速度,降低延时
出错的重试验机制
Nginx主要支持三种均衡算法:
round-robin
l
- jquery-validation备忘
白糖_
jquerycssF#Firebug
留点学习jquery validation总结的代码:
function checkForm(){
validator = $("#commentForm").validate({// #formId为需要进行验证的表单ID
errorElement :"span",// 使用"div"标签标记错误, 默认:&
- solr限制admin界面访问(端口限制和http授权限制)
ronin47
限定Ip访问
solr的管理界面可以帮助我们做很多事情,但是把solr程序放到公网之后就要限制对admin的访问了。
可以通过tomcat的http基本授权来做限制,也可以通过iptables防火墙来限制。
我们先看如何通过tomcat配置http授权限制。
第一步: 在tomcat的conf/tomcat-users.xml文件中添加管理用户,比如:
<userusername="ad
- 多线程-用JAVA写一个多线程程序,写四个线程,其中二个对一个变量加1,另外二个对一个变量减1
bylijinnan
java多线程
public class IncDecThread {
private int j=10;
/*
* 题目:用JAVA写一个多线程程序,写四个线程,其中二个对一个变量加1,另外二个对一个变量减1
* 两个问题:
* 1、线程同步--synchronized
* 2、线程之间如何共享同一个j变量--内部类
*/
public static
- 买房历程
cfyme
2015-06-21: 万科未来城,看房子
2015-06-26: 办理贷款手续,贷款73万,贷款利率5.65=5.3675
2015-06-27: 房子首付,签完合同
2015-06-28,央行宣布降息 0.25,就2天的时间差啊,没赶上。
首付,老婆找他的小姐妹接了5万,另外几个朋友借了1-
- [军事与科技]制造大型太空战舰的前奏
comsci
制造
天气热了........空调和电扇要准备好..........
最近,世界形势日趋复杂化,战争的阴影开始覆盖全世界..........
所以,我们不得不关
- dateformat
dai_lm
DateFormat
"Symbol Meaning Presentation Ex."
"------ ------- ------------ ----"
"G era designator (Text) AD"
"y year
- Hadoop如何实现关联计算
datamachine
mapreducehadoop关联计算
选择Hadoop,低成本和高扩展性是主要原因,但但它的开发效率实在无法让人满意。
以关联计算为例。
假设:HDFS上有2个文件,分别是客户信息和订单信息,customerID是它们之间的关联字段。如何进行关联计算,以便将客户名称添加到订单列表中?
&nbs
- 用户模型中修改用户信息时,密码是如何处理的
dcj3sjt126com
yii
当我添加或修改用户记录的时候对于处理确认密码我遇到了一些麻烦,所有我想分享一下我是怎么处理的。
场景是使用的基本的那些(系统自带),你需要有一个数据表(user)并且表中有一个密码字段(password),它使用 sha1、md5或其他加密方式加密用户密码。
面是它的工作流程: 当创建用户的时候密码需要加密并且保存,但当修改用户记录时如果使用同样的场景我们最终就会把用户加密过的密码再次加密,这
- 中文 iOS/Mac 开发博客列表
dcj3sjt126com
Blog
本博客列表会不断更新维护,如果有推荐的博客,请到此处提交博客信息。
本博客列表涉及的文章内容支持 定制化Google搜索,特别感谢 JeOam 提供并帮助更新。
本博客列表也提供同步更新的OPML文件(下载OPML文件),可供导入到例如feedly等第三方定阅工具中,特别感谢 lcepy 提供自动转换脚本。这里有导入教程。
- js去除空格,去除左右两端的空格
蕃薯耀
去除左右两端的空格js去掉所有空格js去除空格
js去除空格,去除左右两端的空格
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>&g
- SpringMVC4零配置--web.xml
hanqunfeng
springmvc4
servlet3.0+规范后,允许servlet,filter,listener不必声明在web.xml中,而是以硬编码的方式存在,实现容器的零配置。
ServletContainerInitializer:启动容器时负责加载相关配置
package javax.servlet;
import java.util.Set;
public interface ServletContainer
- 《开源框架那些事儿21》:巧借力与借巧力
j2eetop
框架UI
同样做前端UI,为什么有人花了一点力气,就可以做好?而有的人费尽全力,仍然错误百出?我们可以先看看几个故事。
故事1:巧借力,乌鸦也可以吃核桃
有一个盛产核桃的村子,每年秋末冬初,成群的乌鸦总会来到这里,到果园里捡拾那些被果农们遗落的核桃。
核桃仁虽然美味,但是外壳那么坚硬,乌鸦怎么才能吃到呢?原来乌鸦先把核桃叼起,然后飞到高高的树枝上,再将核桃摔下去,核桃落到坚硬的地面上,被撞破了,于是,
- JQuery EasyUI 验证扩展
可怜的猫
jqueryeasyui验证
最近项目中用到了前端框架-- EasyUI,在做校验的时候会涉及到很多需要自定义的内容,现把常用的验证方式总结出来,留待后用。
以下内容只需要在公用js中添加即可。
使用类似于如下:
<input class="easyui-textbox" name="mobile" id="mobile&
- 架构师之httpurlconnection----------读取和发送(流读取效率通用类)
nannan408
1.前言.
如题.
2.代码.
/*
* Copyright (c) 2015, S.F. Express Inc. All rights reserved.
*/
package com.test.test.test.send;
import java.io.IOException;
import java.io.InputStream
- Jquery性能优化
r361251
JavaScriptjquery
一、注意定义jQuery变量的时候添加var关键字
这个不仅仅是jQuery,所有javascript开发过程中,都需要注意,请一定不要定义成如下:
$loading = $('#loading'); //这个是全局定义,不知道哪里位置倒霉引用了相同的变量名,就会郁闷至死的
二、请使用一个var来定义变量
如果你使用多个变量的话,请如下方式定义:
. 代码如下:
var page
- 在eclipse项目中使用maven管理依赖
tjj006
eclipsemaven
概览:
如何导入maven项目至eclipse中
建立自有Maven Java类库服务器
建立符合maven代码库标准的自定义类库
Maven在管理Java类库方面有巨大的优势,像白衣所说就是非常“环保”。
我们平时用IDE开发都是把所需要的类库一股脑的全丢到项目目录下,然后全部添加到ide的构建路径中,如果用了SVN/CVS,这样会很容易就 把
- 中国天气网省市级联页面
x125858805
级联
1、页面及级联js
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
&l