摘要: 1 {"statusCode":"300","message":"栏目插入出现故障==bannerInfoService。add 栏目添加失败","navTabId":"","rel":"","callbackType":"closeCurrent","forwardUrl":""}... 阅读全文
posted @ 2015-05-20 20:26 xunux 阅读(292) 评论(0) 推荐(0) 编辑
摘要: java本地代码运行正常,部署到服务器无法运行,错误如下: 1 Caused by: java.lang.UnsupportedClassVersionError: com/teshehui/cms/activity/service/impl/ActivityServiceImpl : Unsupp... 阅读全文
posted @ 2015-05-13 20:37 xunux 阅读(1096) 评论(0) 推荐(0) 编辑
摘要: 在命令行使用mvn install -Dmaven.skipTests或 mvn install -Dmaven.test.skip=true或在pom.xml设置 org.apache.maven.plugins maven-su... 阅读全文
posted @ 2015-05-13 19:52 xunux 阅读(424) 评论(0) 推荐(0) 编辑
摘要: 需要在打开dialog里再弹出一个dialog的话,需要在打开第一个dialog的地方指定rel,这样就可以弹出第二个dialog而不是替换掉第一个dialog1 添加栏目打开add.jsp页面dialog后,再打开一个 阅读全文
posted @ 2015-05-09 18:44 xunux 阅读(727) 评论(0) 推荐(0) 编辑
摘要: 在mybatis通过执行sql语句的方式是,用getSqlSession().xxx(param,..)方法来调用, 其中第一个参数就是dao mapper.xml文件的命名空间.id 1 package com.xxx.cms.activity.dao.impl; 2 3 public... 阅读全文
posted @ 2015-05-09 16:02 xunux 阅读(2932) 评论(0) 推荐(0) 编辑
摘要: springmvc 数据绑定 阅读全文
posted @ 2015-05-07 18:59 xunux 阅读(495) 评论(0) 推荐(0) 编辑
摘要: 引入标签库表单标签的 path 属性用于数据绑定 和 指定的 items 可以是map、array、list map: 对于key为 option的value, value为option的文本 list: 当list包含的是po对象时,指定需要指定itemLabel 和itemValue对应的p... 阅读全文
posted @ 2015-05-05 12:59 xunux 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 原文:http://www.hostloc.com/thread-153223-1-1.html看了http://www.hostloc.com/thread-153166-1-1.html主要说tcp,udp是一样的sock5和vpn的本质区别是,vpn模式没有使用代理服务器的协议站的功能,因为它... 阅读全文
posted @ 2015-04-30 11:37 xunux 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 创建java web的maven项目方法有两种,一是先创建maven项目,再选择jdk 和 dynamic web 运行环境 ,二是创建java项目,然后转化为maven项目 1、将普通java项目转化为maven项目的方法: 右击项目 -> Configure -> Convert to Mave 阅读全文
posted @ 2015-04-30 10:01 xunux 阅读(310) 评论(0) 推荐(0) 编辑
摘要: select * from information_schema.INNODB_lock_waits;select * from information_schema.INNODB_locks;SHOW PROCESSLIST //查看数据库中表的状态,是否被锁;kill id //杀掉被锁的表... 阅读全文
posted @ 2015-04-28 17:13 xunux 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 哪天可以用爬虫爬一下cnblogs csdn这些网站博客的常用label和分类,看看会是什么情况~~ 阅读全文
posted @ 2015-04-22 13:02 xunux 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 文件下载中文乱码,因为http请求url和header要求只能通过ascii码,对于其他字符则不行,需要转码。而不同浏览器的处理方式右不一样。解决方法一: /** * 乱码解决 * @throws UnsupportedEncodingException * */ private stati... 阅读全文
posted @ 2015-04-22 12:37 xunux 阅读(1393) 评论(1) 推荐(0) 编辑
摘要: firefox: firebug flagfox adblock autoproxy foxyproxy firegestures httpfox httprequester colorzilla json-handle noscript downloadthemall d... 阅读全文
posted @ 2015-04-22 11:59 xunux 阅读(341) 评论(0) 推荐(0) 编辑
摘要: join on 与 where 条件的执行先后顺序: join on 条件先执行,where条件后执行;join on的条件在连接表时过滤,而where则是在生成中间表后对临时表过滤left join、right join、full join、inner join区别: left join:以左... 阅读全文
posted @ 2015-04-16 17:39 xunux 阅读(4265) 评论(1) 推荐(1) 编辑
摘要: SpringMVC Spring Mybatis 事物失效解决方案 阅读全文
posted @ 2015-04-02 19:34 xunux 阅读(1961) 评论(0) 推荐(0) 编辑