08 2016 档案

摘要:jdk下载: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html 1. 安装rpm软件 2. 复制粘贴:yy, p, 4yy, 当前行往后4行复制 3. 删除:dd 全部删除: ESC 阅读全文
posted @ 2016-08-30 16:46 wujixing909 阅读(188) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/mcpang/article/details/5468386 阅读全文
posted @ 2016-08-30 16:21 wujixing909 阅读(930) 评论(0) 推荐(0)
摘要:conf/tomcat-user.xml <user username="admin" password="1234" roles="manager-gui"/> 阅读全文
posted @ 2016-08-30 15:41 wujixing909 阅读(221) 评论(0) 推荐(0)
摘要:整体设置标签为:td {text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }table fix设置 阅读全文
posted @ 2016-08-29 18:36 wujixing909 阅读(471) 评论(0) 推荐(0)
摘要:<s:select name="codeid" id="codeid" multiple="false" list="#session.mapcode" headerKey="0" onchange="modelForm.submit()" cssStyle="padding-left:5px;fo 阅读全文
posted @ 2016-08-29 15:03 wujixing909 阅读(369) 评论(0) 推荐(0)
摘要:http://www.w3cplus.com/content/css3-box-sizing 阅读全文
posted @ 2016-08-26 15:34 wujixing909 阅读(132) 评论(0) 推荐(0)
摘要:有一下问题, 想让下面的border生效 ,#比. 优先级高, 有2种方法 1. 2. 规则一:由于继承而发生样式冲突时,最近祖先获胜。 显示蓝色 规则二:继承的样式和直接指定的样式冲突时,直接指定的样式获胜。 显示红色 规则三:直接指定的样式发生冲突时,样式权值高者获胜。 可以看到,内联样式的权值 阅读全文
posted @ 2016-08-26 15:05 wujixing909 阅读(847) 评论(0) 推荐(0)
摘要:控件里设置: style="font-family:Arial" html里设置 <font face="Arial"> 阅读全文
posted @ 2016-08-26 12:21 wujixing909 阅读(1790) 评论(0) 推荐(0)
摘要:的 阅读全文
posted @ 2016-08-24 09:34 wujixing909 阅读(170) 评论(0) 推荐(0)
摘要:需要两个包 jackson-core-asl, jackson-mapper-asl controller jsp文件 阅读全文
posted @ 2016-08-23 18:49 wujixing909 阅读(251) 评论(0) 推荐(0)
摘要:http://www.cnblogs.com/wx1993/p/4806873.html 阅读全文
posted @ 2016-08-23 17:44 wujixing909 阅读(104) 评论(0) 推荐(0)
摘要:$.getJSON("/portal/edu/getAllEdu?adr="+Math.random(),function(data){ 阅读全文
posted @ 2016-08-23 16:36 wujixing909 阅读(136) 评论(0) 推荐(0)
摘要:的 阅读全文
posted @ 2016-08-23 13:45 wujixing909 阅读(138) 评论(0) 推荐(0)
摘要:方式一:使用ModelAndView的contentType是"application/json" 方式二:返回String的 contentType是"text/html" 那么如何设置response的content type呢? 使用注解@RequestMapping 中的produces: 阅读全文
posted @ 2016-08-23 13:43 wujixing909 阅读(214) 评论(0) 推荐(0)
摘要:getWriter() has already been called for this response response已经被其他对象调用了,导致无法继续使用如下 类似的方法 PrintWriter out = response.getWriter(); out.print("就是不让我使用") 阅读全文
posted @ 2016-08-23 13:37 wujixing909 阅读(555) 评论(0) 推荐(0)
摘要:Json-lib 需要的 jar 包 commons-beanutils-1.8.3.jar commons-collections-3.2.1.jar commons-lang-2.6.jar commons-logging-1.1.1.jar ezmorph-1.0.6.jar json-lib 阅读全文
posted @ 2016-08-23 09:08 wujixing909 阅读(215) 评论(0) 推荐(0)
摘要:js 阅读全文
posted @ 2016-08-19 14:51 wujixing909 阅读(4297) 评论(0) 推荐(1)
摘要:CSS代码: .test_box { width: 400px; min-height: 120px; max-height: 300px; _height: 120px; margin-left: auto; margin-right: auto; padding: 3px; outline: 0; bor... 阅读全文
posted @ 2016-08-19 12:06 wujixing909 阅读(167) 评论(0) 推荐(0)
摘要:首先在 tomcat的 D:\apache-tomcat-7.0.57\conf\server.xml里添加中文编码 前台处理 后台处理 阅读全文
posted @ 2016-08-19 11:20 wujixing909 阅读(317) 评论(0) 推荐(0)
摘要:第一种getJSON方式: 前台调用: 后台处理 另一种get方式 前台调用 后台处理i 阅读全文
posted @ 2016-08-19 09:28 wujixing909 阅读(7109) 评论(0) 推荐(0)
摘要:AJAX+JSP时,out.write('content')之后,如果后面还有代码,无法被执行到,会报 错,java.lang.IllegalStateException: Cannot call sendRedirect() after the response has been committe 阅读全文
posted @ 2016-08-19 09:23 wujixing909 阅读(1049) 评论(0) 推荐(0)
摘要:的 阅读全文
posted @ 2016-08-17 13:56 wujixing909 阅读(183) 评论(0) 推荐(0)
摘要:Servlet端代码 前端获取 阅读全文
posted @ 2016-08-17 10:06 wujixing909 阅读(206) 评论(0) 推荐(0)
摘要:1. img控件加id 2. 加click事件 阅读全文
posted @ 2016-08-17 09:43 wujixing909 阅读(867) 评论(0) 推荐(0)
摘要:D 前台获取 阅读全文
posted @ 2016-08-16 14:26 wujixing909 阅读(555) 评论(0) 推荐(0)
摘要:--> com.web.model.User com.web.model.Log org.hibernate.dialect.MySQLDialect update true --> ... 阅读全文
posted @ 2016-08-12 12:11 wujixing909 阅读(191) 评论(0) 推荐(0)
摘要:hibernate工作原理 原理: 1.读取并解析配置文件 2.读取并解析映射信息,创建SessionFactory 3.打开Sesssion 4.创建事务Transation 5.持久化操作 6.提交事务 7.关闭Session 8.关闭SesstionFactory 为什么要用: 1. 对JDB 阅读全文
posted @ 2016-08-12 10:22 wujixing909 阅读(390) 评论(0) 推荐(0)
摘要:ApplicationContext ac = new ClassPathXmlApplicationContext("applicationContext.xml");RegisterDAO registerDAO = (RegisterDAO)ac.getBean("RegisterDAO"); 阅读全文
posted @ 2016-08-11 17:51 wujixing909 阅读(663) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/budapest/article/details/38493003 阅读全文
posted @ 2016-08-11 17:51 wujixing909 阅读(602) 评论(0) 推荐(0)
摘要:beans.xml 阅读全文
posted @ 2016-08-11 15:43 wujixing909 阅读(326) 评论(0) 推荐(0)
摘要:的 阅读全文
posted @ 2016-08-11 13:48 wujixing909 阅读(108) 评论(0) 推荐(0)
摘要:方法:写function 阅读全文
posted @ 2016-08-11 10:41 wujixing909 阅读(585) 评论(0) 推荐(0)
摘要:1. 新建java project 2. 引入jar 3. src下新建package:com.web.model, com.web.dao, com.web.service, bean.xml 4. model下新建User.java dao下新建interface IUserDao.java d 阅读全文
posted @ 2016-08-10 17:39 wujixing909 阅读(169) 评论(0) 推荐(0)
摘要:对于Spring AOP 采用两种代理方法,一种是常规JDK,一种是CGLIB,我的UserDao了一个接口IUserDao,当代理对象实现了至少一个接口时,默认使用 JDK动态创建代理对象,当代理对象没有实现任何接口时,就会使用CGLIB方法。点此查看详细介绍>>> 治疗方法 如果你的代理对象没有 阅读全文
posted @ 2016-08-10 17:31 wujixing909 阅读(716) 评论(0) 推荐(0)
摘要:脏读 dirty read: 读了别的事务没有提交的事务, 可能回滚, 数据可能不对。 不可重复读 non repeatable read: 同一个事务里前后读出来的数据不一样, 被另一个事务影响了 幻读 phantom read: 插入和更新的问题, 读的过程中, 别的事务可能插入了一条数据, 影 阅读全文
posted @ 2016-08-09 09:07 wujixing909 阅读(1023) 评论(0) 推荐(0)
摘要:1. upate-》create 2. 2.Mapping的映射文件有重名的,如: 3.表中有关键字,如: order,level,address,degree等。 4.在配置文件中不小心写了两个同名属性,如: 5.全类名写错了 6. 自增长字段是String类型, 应该改成Long 阅读全文
posted @ 2016-08-05 10:50 wujixing909 阅读(6303) 评论(1) 推荐(0)