02 2015 档案
摘要:1. : 等同于request.getAttribute("user").toString(); | |相当于(User) request.setAttribute("user").getUsername();2. :3. 移除 之后 中国北京将不再显示4. :5. :判断字符串:hello判断数...
阅读全文
摘要:public static void main(String[] args) { List list = new ArrayList(); List list1 = new ArrayList(); int[] a = {1,...
阅读全文
摘要:$(document).ready(function(){ // ??? /*$(":button").click(function(){ $(":text").each(function(){ alert(this.value); })...
阅读全文
摘要:1.jq 中的 ajax$(document).ready(function(){ $("#result").bind("input propertychange",function(){ $.ajax({ ...
阅读全文
摘要: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...
阅读全文
摘要:读取配置文件package com.seecen.test;import java.io.IOException;import java.io.InputStream;import java.util.Enumeration;import java.util.Iterator;import java...
阅读全文
摘要:★第一步:配置文件message_en_US.properties ---英文的配置文件message_zh_CN.properties ---中文的配置文件注意: 红色部分是标配,固定写法。 两个配置文件的 key 值一定要相同★第二步:Struts.xml配置文件注意:这里的 value...
阅读全文
摘要:1、failed to lazily initialize a collection of role 问题 "org.hibernate.LazyInitializationException: could not initialize proxy" 延迟抓取出的错 lazy initializat...
阅读全文
摘要:1. struts2 获得 JSP 页面文本框中的值: 两边的 name 必须相同,,,action中private User user, jsp中就是 name="user.name"2. struts.xml文件中要包含 struts-login.xml 的配置文件,否则会报 没有找到 对应ac...
阅读全文

浙公网安备 33010602011771号