自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

SalmonellaVaccine的专栏

不走弯路,也就错过了风景。无论如何,感谢经历。

  • 博客(29)
  • 收藏
  • 关注

转载 Best way of creating a new element in jquery

http://stackoverflow.com/questions/10619445/best-way-of-creating-a-new-element-in-jqueryvar $div = $("", {id: "foo", class: "a"});$div.click(function(){ /* ... */ });$("#box").append($div);

2014-04-29 01:00:52 541

转载 jQuery Set Selected Option

http://stackoverflow.com/questions/1280369/jquery-set-selected-option-using-next

2014-04-29 00:58:24 1256

转载 JQuery向<td>中插入<a>

http://stackoverflow.com/questions/3589815/how-to-add-div-within-td-with-jquery

2014-04-29 00:53:57 2099

转载 SpringMVC下使用URI Template

http://stackoverflow.com/questions/7021084/how-do-you-receive-a-url-parameter-with-a-spring-controller-mapping

2014-04-29 00:50:38 924

转载 如何修改MySQL root密码

Set / change / reset the MySQL root password on Ubuntu Linux. Enter the following lines in your terminal.Stop the MySQL Server.sudo /etc/init.d/mysql stopStart the mysqld configura

2014-04-29 00:47:16 546

转载 How to install tomcat 7 on ubuntu 12.04

http://www.krizna.com/ubuntu/install-tomcat-7-ubuntu-12-04/Tomcat ( Apache tomcat ) is an open source web application server used to deploy JAVA servlets and JSPs.This article helps you to insta

2014-04-29 00:46:01 1340

转载 Spring MVC通用URI Template

http://stackoverflow.com/questions/7841770/optional-path-variables-in-spring-mvc-requestmapping-uritemplate@RequestMapping(value = "/{first}/**/{last}", method = RequestMethod.GET)public String

2014-04-28 16:55:43 1179

转载 Ubuntu下解压缩

http://askubuntu.com/questions/25347/what-command-do-i-need-to-unzip-extract-a-tar-gz-filetar -xvzf community_images.tar.gz

2014-04-28 16:48:00 571

原创 AJAX向SpringMVC controller 传JSONArray并将String转换成JSONArray

http://stackoverflow.com/questions/14515785/how-to-convert-json-string-arrray-to-json-array-list

2014-04-26 23:22:10 2024

转载 深入hibernate的三种状态

学过hibernate的人都可能都知道hibernate有三种状态,transient(瞬时状态),persistent(持久化状态)以及detached(离线状态),大家伙也许也知道这三者之间的区别,比如瞬时状态就是刚new出来一个对象,还没有被保存到数据库中,持久化状态就是已经被保存到数据库中,离线状态就是数据库中有,但是session中不存在该对象。但是大家又是否对hibernate的ses

2014-04-24 17:55:01 499

转载 Hibernate对象的三种状态&&Session的常用方法

http://www.himigame.com/hibernate/814.html1. Hibernate对象的三种状态:(图解如下:) 如图所示,Hibernate对象有三种状态,1.Transient  2.Persistent 3.Detached;三种状态的区别如下:1. 当对象处于Transient时,只在内存中有一个对象,没ID

2014-04-24 17:53:42 629

转载 人体时钟hone hone clock

http://ziren.org/tools/hone-hone-clock.html

2014-04-24 17:52:40 2056

转载 JavaScript声明全局变量三种方式的异同

http://www.cnblogs.com/snandy/archive/2011/03/19/1988284.html变量及变量声明是一门语言最基本的概念,初学者都会很快掌握。JavaScript中声明变量也是如此,很简单var(关键字)+变量名(标识符)。方式112var test;var test

2014-04-24 17:50:36 557

转载 理解Session缓存

http://blog.sciencenet.cn/blog-448935-723247.html1. Session缓存   为了让对象A一直处于生命周期中,要么对象A被显示引用,要么对对象A的引用保存在始终处于生命周期中的对象B中,直到对象B的生命周期结束而结束。在Session接口的实现中包含了一系列的Java集合,这些集合用于保存对持久化对象的引用,因此这些Java集合就构

2014-04-24 17:33:02 671

转载 关于锚点跳转及jQuery下相关操作与插件

http://www.zhangxinxu.com/wordpress/2010/07/%E9%94%9A%E7%82%B9%E8%B7%B3%E8%BD%AC%E5%8F%8Ajquery%E4%B8%8B%E7%9B%B8%E5%85%B3%E6%93%8D%E4%BD%9C%E4%B8%8E%E6%8F%92%E4%BB%B6/

2014-04-24 17:30:48 840 1

转载 28个你必须知道的HTML5的新特性,技巧以及技术

http://adamlu.com/?p=584

2014-04-23 06:10:32 1165

转载 深入了解 CSS3 新特性

https://www.ibm.com/developerworks/cn/web/1202_zhouxiang_css3/

2014-04-23 06:08:29 609

转载 HTML5之表单详解

http://mrthink.net/html5-newfeatures-form/时光车轮滚滚碾来,前端之路永无止歇.对于这个前端这门精一多专的技术,任何一次技术革新,我们都必须第一时间去了解它学习它,比如Web世界里这簇美艳的花朵—HTML5.虽然HTML5发布之初,许多人(包括我)都觉得普及它还很遥远,但自发布以来,许多企业级网站对它的尝试应用(比如应用,比如canvas的应

2014-04-23 06:06:38 514

转载 HQL multiple condition

http://www.coderanch.com/t/597389/ORM/databases/HQL-query-multiple-conditions-metview plainprint?Note: Text content in the code blocks is automatically word-wrappedString que

2014-04-22 14:29:04 633

转载 Hibernate – Dynamic-Update Attribute Example

http://www.mkyong.com/hibernate/hibernate-dynamic-update-attribute-example/What is dynamic-updateThe dynamic-update attribute tells Hibernate whether to include unmodified properties in

2014-04-22 14:27:09 821

转载 jQuery AJAX JSON Example – jQuery.parseJSON(), $.post() & $.getJSON()

In jQuery AJAX JSON Example, I have explained how to handle GET and POST JSON requests using jQuery API.Topics Covered.1). Encode Object to JSON String2). Parse JSON String using jQuery3

2014-04-22 14:24:59 1629

转载 jQuery.parseJSON return [object Object]

http://stackoverflow.com/questions/9218900/jquery-getjson-and-jquery-parsejson-return-object-objectalert(jQuery.parseJSON(data))显示[object Object], 应该改用stringify把data转为JSON String。alert(JSON.st

2014-04-22 13:53:26 865

转载 Best Way to Loop Through an Array in JavaScript

http://www.sebarmeli.com/blog/2010/12/06/best-way-to-loop-through-an-array-in-javascript/Last week, a colleague of mine asked me “Why are you using a ‘standard for loop’ rather than the faster

2014-04-22 09:11:56 651

原创 SpringMVC中AJAX通过JSONArray向下拉列表中动态添加选项

方法参考了以下链接:http://blog.csdn.net/jjting/article/details/8653953 http://hayageek.com/jquery-ajax-json-parsejson-post-getjson/http://stackoverflow.com/questions/4969754/jquery-append-to-select

2014-04-22 09:08:23 2020

原创 Github和Apache Tomcat

从github上fetch + merge本地代码之后,

2014-04-14 15:17:30 1611

转载 Github协作开发的一些经验

1. Fork对方的Reopository: yongmingzhang/Proj2. Clone your fork到本地

2014-04-13 16:56:16 600

转载 ssh connect to host port 22 bad file number

http://blog.csdn.net/benweizhu/article/details/8640268在.ssh目录下添加一个叫做config文件,没有后缀名。[plain] view plaincopyHost github.com  User git  Hostname ssh.github.com  P

2014-04-13 13:26:29 1051

转载 jQuery get content between <div> tags

http://stackoverflow.com/questions/6854009/jquery-get-content-between-div-tags

2014-04-13 07:46:46 391

转载 jquery之empty()与remove()区别

要用到移除指定元素的时候,发现empty()与remove([expr])都可以用来实现。可仔细观察效果的话就可以发现。empty()是只移除了 指定元素中的所有子节点,拿$("p").empty()来说,他只是把dsfsd中的文本给移除了,而留下 了,仍保留其在dom中所占的位置。remove([expr])则是把其从dom中删除,而不会保留其所占的位置。例:HelloWor

2014-04-13 07:45:33 456

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除