上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页
摘要: $(document).ready(function(){ // ??? /*$(":button").click(function(){ $(":text").each(function(){ alert(this.value); })... 阅读全文
posted @ 2015-02-07 17:40 江湖一笑 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 1.jq 中的 ajax$(document).ready(function(){ $("#result").bind("input propertychange",function(){ $.ajax({ ... 阅读全文
posted @ 2015-02-07 17:39 江湖一笑 阅读(187) 评论(0) 推荐(0) 编辑
摘要: extMap = new HashMap();extMap.put("image", "gif,jpg,jpeg,png,bmp");extMap.put("flash", "swf,flv");extMap.put("media", "swf,flv,mp3,wav,wma,wmv,mid,av... 阅读全文
posted @ 2015-02-07 17:25 江湖一笑 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 11222 阅读全文
posted @ 2015-02-07 17:24 江湖一笑 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 读取配置文件package com.seecen.test;import java.io.IOException;import java.io.InputStream;import java.util.Enumeration;import java.util.Iterator;import java... 阅读全文
posted @ 2015-02-07 17:16 江湖一笑 阅读(139) 评论(0) 推荐(0) 编辑
摘要: ★第一步:配置文件message_en_US.properties ---英文的配置文件message_zh_CN.properties ---中文的配置文件注意: 红色部分是标配,固定写法。 两个配置文件的 key 值一定要相同★第二步:Struts.xml配置文件注意:这里的 value... 阅读全文
posted @ 2015-02-07 16:55 江湖一笑 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 1、failed to lazily initialize a collection of role 问题 "org.hibernate.LazyInitializationException: could not initialize proxy" 延迟抓取出的错 lazy initializat... 阅读全文
posted @ 2015-02-06 16:45 江湖一笑 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 1. struts2 获得 JSP 页面文本框中的值: 两边的 name 必须相同,,,action中private User user, jsp中就是 name="user.name"2. struts.xml文件中要包含 struts-login.xml 的配置文件,否则会报 没有找到 对应ac... 阅读全文
posted @ 2015-02-02 21:54 江湖一笑 阅读(138) 评论(0) 推荐(0) 编辑
摘要: web.xml 文件配置1.strtus2 配置文件(配置过滤器) struts2 org.apache.struts2.dispatcher.FilterDispatcher --> org.ap... 阅读全文
posted @ 2015-01-28 11:00 江湖一笑 阅读(199) 评论(0) 推荐(0) 编辑
摘要: hibernate.cfg.xml配置文件Spring整合Hibernate文件applicationContext.xml 清理 session 缓存1. flush:使数据表中的记录和session缓存中的对象的状态保持一致,为了保存一致,则可能会发送相应的SQL001. 在 Tran... 阅读全文
posted @ 2015-01-24 23:02 江湖一笑 阅读(122) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页