摘要: 使用jquery简单实现分页,功能很简单,可以自己扩展在jsp页面调用(只要数据类型是array、list、json类型都可以的): <link href="${contextPath }/css/paging.css" rel="stylesheet" type="text/css"> <script language="javascript" type="text/javascript" src="${contextPath }/js/jquery.js" 阅读全文
posted @ 2013-01-14 16:04 我将一人成团 阅读(8372) 评论(2) 推荐(0)
摘要: Java: instanceof contains() charAt() 泛型2013-1-8 split() 2013-1-9 getDeclaredFields()2013-1-23JQuery: each()css("") 2013-1-9 each()指定元素2013-1-11 siblings 2013-3-21 CSS: div文字居中2013-1-9 div被撑开 2013-3-26JAVASCRIPT: 取整 2013-3-29 阅读全文
posted @ 2013-01-08 14:35 我将一人成团 阅读(230) 评论(0) 推荐(0)
摘要: Hibernate.hbm.xml1、should be mapped with insert="false" update="false":存在重复映射的字段;2、Caused by: org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer]:配置文件与实体文件映射错误,多了字段或少了字段或少些了getter 方法;3、org.hibernate.LazyInitiali 阅读全文
posted @ 2012-12-26 15:19 我将一人成团 阅读(3566) 评论(0) 推荐(0)
摘要: 转载地址:http://mafei.aoercom.com/?p=93VirtualBox 安装 ubuntu 出现This kernel requires an X86-64 CPU,but only detected an i686 CPU错误的解决办法基本情况VirtualBox4.1.12下载ubuntu操作系统版本ubuntu-11.10-alternate-amd64.iso ( 64位专家版)安装过程出现错误:This kernel requires an X86-64 CPU,but only detected an i686 CPU(当前系统内核需要64位的cpu,可是只检测 阅读全文
posted @ 2012-12-17 17:59 我将一人成团 阅读(57413) 评论(0) 推荐(1)
摘要: -----自家的------------------------------------------------------------------------------------------1、java 常见异常;2、MySql 命令;3、Tomcat内存大小配置;4、英语;-----未读------------------------------------------------------------------------------------------1、java 数据缓存;2、java 多线程;3、java 线程池;4、java web.xml ;5、MySql 存储过程 阅读全文
posted @ 2012-10-29 18:18 我将一人成团 阅读(732) 评论(0) 推荐(0)
摘要: DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss"); long now = System.currentTimeMillis(); long n = new Long("1347008341011"); Calendar calendar = Calendar.getInstance(); calendar.setTimeInMillis(n); System.out.println(now + " = " + formatter.format... 阅读全文
posted @ 2012-09-28 16:57 我将一人成团 阅读(2725) 评论(0) 推荐(0)
摘要: 转载地址:http://database.51cto.com/art/201010/230148.htm在Mysql数据库中,Mysql Merge表有点类似于视图。下面就让我们来一起了解一下Mysql Merge表都有哪些优点,希望对您能有所帮助。Mysql Merge表的优点:A: 分离静态的和动态的数据B:利用结构接近的的数据来优化查询C: 查询时可以访问更少的数据D:更容易维护大数据集E: 可以通过修改.mrg文件来修改Merge表,当然也可以用alter进行修改,修改后要通过FLUSH TABLES刷新表缓存,此法可以动态增加减少子表创建方法,例:mysql>CREATE TA 阅读全文
posted @ 2012-09-28 11:33 我将一人成团 阅读(393) 评论(0) 推荐(0)
摘要: 转载地址:http://hi.baidu.com/lvzhnan/item/c2a46115d235b70ad0d66d3fjsf session 添加 获取1、session的添加 FacesContext facesContext = FacesContext.getCurrentInstance(); ExternalContext extContext =facesContext.getExternalContext(); this.session =(HttpSession)extContext.getSession(true); this.session.s... 阅读全文
posted @ 2012-09-25 17:30 我将一人成团 阅读(3931) 评论(0) 推荐(1)
摘要: 错误信息:2011-2-20 14:17:41 org.apache.coyote.http11.Http11AprProtocol init严重: Error initializing endpointjava.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/???????/???)????í??…………2011-2-20 14:17:41 org.apache.catalina.startup.Catalina load严重: Catalina.startLifecycleExcep 阅读全文
posted @ 2012-09-20 11:04 我将一人成团 阅读(7328) 评论(0) 推荐(0)
摘要: 转载地址:http://awung.blog.sohu.com/28657258.html<html><head><title>Window Media Player 播放器</title><style>body { overflow:auto; font-size:12px; cursor:default;}#table01 { font-size:12px; background-Color:black; color:white; text-align:center;}#playListTit... 阅读全文
posted @ 2012-09-11 17:12 我将一人成团 阅读(3367) 评论(1) 推荐(0)