上一页 1 ··· 63 64 65 66 67 68 69 70 71 ··· 77 下一页

一种基于struts2 拦截器 和 log4j的轻量级crm权限及行为跟踪方式

摘要: 拦截器public class CrmTokenInterceptor extends AbstractInterceptor{ private static final long serialVersionUID = -6027604464670201140L... 阅读全文
posted @ 2017-01-21 17:23 silyvin 阅读(141) 评论(0) 推荐(0)

Spring AOP声明式事务异常回滚 若干法则

摘要: http://www.cnblogs.com/flying607/p/4652010.html转:http://hi.baidu.com/iduany/item/20f8f8ed24e1dec5bbf37df7 近日测试用例,发现这样一个现象:在业务代码中,有如下两... 阅读全文
posted @ 2017-01-21 15:09 silyvin 阅读(326) 评论(0) 推荐(0)

spring aop 切面测试

摘要: spring 配置 aop <aop:config> <aop:aspect id="asp1" ref="monitorApi"> <!-- 配置一个切入点,相当于@Pointcut --> <aop:pointcut expression="execution(* com.xxx.xxx.imp 阅读全文
posted @ 2017-01-21 11:18 silyvin 阅读(280) 评论(0) 推荐(0)

centos 安装 mysql

摘要: http://www.mamicode.com/info-detail-503994.html CentOS7的yum源中默认好像是没有mysql的。为了解决这个问题,我们要先下载mysql的repo源。 1. 下载mysql的repo源 2. 安装mysql-community-release-e 阅读全文
posted @ 2017-01-18 17:17 silyvin 阅读(190) 评论(0) 推荐(0)

centos 服务器环境部署

摘要: 1. 安装git,yum install git (也安装下vim,yum install vim)如果自行定制版本,则点击打开链接2. 安装java下载jdk:点击打开链接安装:点击打开链接3. 安装maven安装:点击打开链接镜像:点击打开链接4. 部署tom... 阅读全文
posted @ 2017-01-17 18:20 silyvin 阅读(127) 评论(0) 推荐(0)

centos6.5 安装git

摘要: http://www.cnblogs.com/fuyuanming/p/5804695.htmlyum install git1.安装编译git时需要的包# yum install curl-devel expat-devel gettext-devel openss... 阅读全文
posted @ 2017-01-17 17:11 silyvin 阅读(115) 评论(0) 推荐(0)

struts2之注解权限控制

摘要: http://www.cnblogs.com/linjiqin/archive/2011/10/28/2227454.html今天结合Java的Annotation和Struts2进行注解拦截器权限控制。功能需求:添加、查找、删除三个功能,添加、查找功能需进行权限拦截... 阅读全文
posted @ 2017-01-14 09:55 silyvin 阅读(208) 评论(0) 推荐(0)

在angular的自定义回调中操作$scope

摘要: http://www.cnblogs.com/leftice/p/3820306.html在angular的controller中有时候会使用到自定义的回调,比如异步请求的回调函数一般返回之后都需要更新页面的数据,即更新$scope.xx 但是如果直接 $scope.... 阅读全文
posted @ 2017-01-13 09:57 silyvin 阅读(112) 评论(0) 推荐(0)

log4j 学习笔记

摘要: http://www.cnblogs.com/pigtail/archive/2013/02/16/2913195.htmllog4j.rootCategory=INFO, stdout , R log4j.appender.stdout=org.apach... 阅读全文
posted @ 2017-01-12 10:28 silyvin 阅读(165) 评论(0) 推荐(0)

解决 IDEA 发布到 Tomcat 项目的 404 和 相对路径 问题

摘要: http://blog.csdn.net/taoli1986/article/details/52816681比如我有个项目是AAA,用eclipse发到tomcat上,路径应该是xxx.com/AAA,但是到了使用了IDEA,那么访问xxx.com/AAA就会报40... 阅读全文
posted @ 2017-01-02 16:23 silyvin 阅读(177) 评论(0) 推荐(0)
上一页 1 ··· 63 64 65 66 67 68 69 70 71 ··· 77 下一页