- 博客(3)
- 收藏
- 关注
原创 关于js中显示时间的兼容性问题
在js中显示时间 通常我们会这样做 tmpDate = new Date(); date = tmpDate.getDate(); month= tmpDate.getMonth() + 1 ; year= tmpDate.getYear(); alert(year); document.write(year); document.write("年"); document.w
2017-03-29 12:11:53 406
原创 struts2中自定义拦截器intercept的相关配置及使用方法
使用自定义的拦截器 继承其中的两个类较为方便: MethodFilterInterceptor 该类有两个可以设置是拦截具体方法,这是AbstractInterceptor所不具备的,使用只需要在struts.xml中静态注入参数即可 setIncludeMethods(String includeMethods):设置需要拦截的方法,多个方法用逗号分隔 setExcludeMeth
2017-03-25 22:07:47 779 1
原创 struts2.3.15.3在myeclipse2017的bug
struts2.3.15.3核心包 <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN" "http://struts.apache.org/dtds/struts-2.3.dtd"> /success.jsp 调用SayActi
2017-03-22 00:16:22 277 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人