上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页
摘要: Maven中内置的隐藏变量: http://www.cnblogs.com/quanyongan/category/471332.html Maven提供了三个隐式的变量可以用来访问环境变量,POM信息,和Maven Settings env env变量,暴露了你操作系统或者shell的环境变量。便 阅读全文
posted @ 2016-08-08 02:39 brucegan 阅读(216) 评论(0) 推荐(0) 编辑
摘要: //测试重定向到另外的一个系统 @RequestMapping("/tttt") public void testRed(HttpServletResponse response) throws Exception{ System.out.println("tttt"); response.send 阅读全文
posted @ 2016-07-27 23:16 brucegan 阅读(23641) 评论(1) 推荐(2) 编辑
摘要: 1:一对一,一对多,多对多双向管理必设mappedBy ,将关系交给乙方维护,不然的话会在双方都建立关系,比如一对一双向的时候双方都会保存对方的id外键管理 具体在项目中采用双向还是单项看实际情况。 2:一对多单向关联的时候在oneToMany的时候还要加上joincloumn不然会生成第三张关联表 阅读全文
posted @ 2016-07-18 23:33 brucegan 阅读(147) 评论(0) 推荐(0) 编辑
摘要: http://www.xxx.com/loginKey=? loginkey字符串是采用username+password还有当前时间戳按照特定的加密算法加密(对字符串:username#password#timestap进行加密) 第三方获取后通过时间戳和特定的解密算法进行解密,并且判断时间戳距离 阅读全文
posted @ 2016-07-13 14:59 brucegan 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 要在子页面上面(也就是tab里面)点击一个按钮调用父页面的tabs新增一个tab方法:转自:http://breezylee.iteye.com/blog/1762811 在父页面点个链接能动态看到子页面的情况太简单,请看easyUI官网:http://www.jeasyui.com/tutoria 阅读全文
posted @ 2016-07-06 17:46 brucegan 阅读(3453) 评论(0) 推荐(1) 编辑
摘要: Spring会创建一个WebApplicationContext的上下文,称为父上下文(父容器),key是WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE,保存在ServletContext(Servlet上下文全局)中 可以使 阅读全文
posted @ 2016-07-02 13:10 brucegan 阅读(1144) 评论(0) 推荐(0) 编辑
摘要: 今天配置实体类注解时,出现以下错误: Caused by: org.hibernate.MappingException: Could not determine type for: java.util.List, at table: ss_user, for columns: [org.hiber 阅读全文
posted @ 2016-06-21 12:55 brucegan 阅读(2320) 评论(0) 推荐(0) 编辑
摘要: 来至: http://blog.csdn.net/jiangwei0910410003/article/details/23915373 http://blog.csdn.net/jiangwei0910410003/article/details/23915373 jsp自定义标签 Tag文件版 阅读全文
posted @ 2016-05-31 23:41 brucegan 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 反射:http://blog.csdn.net/liujiahan629629/article/details/18013523 注解:http://www.cnblogs.com/peida/archive/2013/04/26/3038503.html 阅读全文
posted @ 2016-05-24 13:53 brucegan 阅读(124) 评论(0) 推荐(0) 编辑
摘要: nginx是用来管理tomcat的,只管理tomcat,并没有管理具体tomcat里面的项目,这里实现了简单的nginx管理两个tomcat的配置,注意upstream节点应该配置到service节点外面来 参考链接:http://cxshun.iteye.com/blog/1535188 阅读全文
posted @ 2016-04-29 14:06 brucegan 阅读(227) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页