02 2015 档案

摘要:1. : 等同于request.getAttribute("user").toString(); | |相当于(User) request.setAttribute("user").getUsername();2. :3. 移除 之后 中国北京将不再显示4. :5. :判断字符串:hello判断数... 阅读全文
posted @ 2015-02-09 11:32 江湖一笑 阅读(158) 评论(0) 推荐(0)
摘要:public static void main(String[] args) { List list = new ArrayList(); List list1 = new ArrayList(); int[] a = {1,... 阅读全文
posted @ 2015-02-09 09:59 江湖一笑 阅读(1450) 评论(0) 推荐(1)
摘要:各种样子的按钮按钮--> 阅读全文
posted @ 2015-02-07 18:23 江湖一笑 阅读(118) 评论(0) 推荐(0)
摘要:$(document).ready(function(){ // ??? /*$(":button").click(function(){ $(":text").each(function(){ alert(this.value); })... 阅读全文
posted @ 2015-02-07 17:40 江湖一笑 阅读(122) 评论(0) 推荐(0)
摘要:1.jq 中的 ajax$(document).ready(function(){ $("#result").bind("input propertychange",function(){ $.ajax({ ... 阅读全文
posted @ 2015-02-07 17:39 江湖一笑 阅读(195) 评论(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 江湖一笑 阅读(193) 评论(0) 推荐(0)
摘要:11222 阅读全文
posted @ 2015-02-07 17:24 江湖一笑 阅读(175) 评论(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 江湖一笑 阅读(146) 评论(0) 推荐(0)
摘要:★第一步:配置文件message_en_US.properties ---英文的配置文件message_zh_CN.properties ---中文的配置文件注意: 红色部分是标配,固定写法。 两个配置文件的 key 值一定要相同★第二步:Struts.xml配置文件注意:这里的 value... 阅读全文
posted @ 2015-02-07 16:55 江湖一笑 阅读(127) 评论(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 江湖一笑 阅读(134) 评论(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 江湖一笑 阅读(141) 评论(0) 推荐(0)