`
小斌张
  • 浏览: 87433 次
  • 性别: Icon_minigender_1
  • 来自: 河北
社区版块
存档分类
最新评论
文章列表
最近需要用到cas sso单点登录,所以需要调研下cas服务, 准备使用cas 4.0.0版本 下载地址:http://downloads.jasig.org/cas/ 官网地址:https://www.apereo.org/content/cas-server-deployment-faq 在部署编译cas服务时,遇到几个问题,记录下: 1、部署cas的默认cas-server-webapp-4.0.0.war包后,使用以前的登录方式即:用户名与密码一致即可登录的方式不可用了    a: 这是因为从4.x版本后, 用户名和密码不再这样, 在4.0.0中, 用户名:casuser,密码:Me ...

js 日期操作

    博客分类:
  • js
引用:[url]http://www.cnblogs.com/diulela/archive/2012/04/18/2455264.html [/url] JS日期操作 // 增加天 function AddDays(date,value) { date.setDate(date.getDate()+value); } // 增加月 function AddMonths(date,value) { date.setMonth(date.getMonth()+value); } // 增加年 function AddYears(date,value) { dat ...
1问题: Tomacat7启动报错-org.apache.catalina.deploy.WebXml addFilter 严重: End event threw exception java.lang.NoSuchMethodException: org.apache.catalina.deploy.WebXml addFilter at org.apache.tomcat.util.IntrospectionUtils.callMethod1(IntrospectionUtils.java:849) at org.apache.tomcat.util.digester.SetNextRu ...

js

    博客分类:
  • js
touchEnd 事件存在兼容性问题,在4.0.X的机器,如果touchMove触发了,就不会触发thoucEnd... 要在 touchmove加上 event.preventDefault();
package com.feinno.wbs.web.util;   import java.awt.BasicStroke; import java.awt.Graphics2D; import java.awt.Image; import java.awt.Shape; import java.awt.geom.RoundRectangle2D; import java.awt.image.BufferedImage; import java.io.File; import java.io.FileOutputStream; import java.io.IOExcep ...
mysql 行锁定需知: 1、表的存储引擎需为InnoDB 2、为查询的条件创建索引 3、for update 关键字 4、行锁定查询需要放置在事物中 例: Begin;     select `id_sale` from `red_sale` where `id_sale` = 1 for update; commit; 或者:      set autocommit ...
1:验证是否为URL且后缀为.jpeg等图片格式的地址: Pattern pattern1 = Pattern.compile("http(s)?://([\\w-]+\\.)+[\\w-]+(/[\\w- ./?%&=]*)?(\\.(?i)(jpg|png|gif|jpeg)$)"); 2:验证是否为img标签,且存在src属性 "(<img src=(.+?)(\\s)?/>)+" 3:正则匹配,获取src指定的http: Pattern pat3 = Pattern.compile("http(s)?:(.+?)( ...
ibatis like查询防sql注入 为了防止SQL注入,iBatis模糊查询时也要避免使用$$来进行传值。 下面是三个不同数据库的ibatis的模糊查询传值。 mysql: select * from stu where name like concat('%',#name#,'%')  oracle: select * from stu where name like '%'||#name#||'%' SQL Server:select * from stu where name like '%'+#name#+'%  
mysql启动失败,并报出下面的错误信息: 2014-06-12 17:14:49 4956 [Note] Plugin 'FEDERATED' is disabled. 2014-06-12 17:14:49 218c InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's inte ...
转自:http://bbs.51testing.com/thread-5984-1-1.html 关于"The RPC server is unavailable"的探讨及解决方案 RPC, The, unavailable, server, quot “The RPC server is unavailable”是TD使用中相当常见的问题,在这里做个总结,希望朋友们一起交流探讨一下。 The RPC server is unavailable.翻译过来就是“RPC(远程过程调用)服务不可行。”--可以这么理解,它指的是“权限不够”的意思。 导致此原因的可能性很多很多, ...

邮箱服务器

1、zimbra邮箱服务器
优酷分享技术地址: http://www.icultivator.com/p/4409.html
1、登陆adobe官网,下载 Flash builder(我下载为4.7) 2、下载myeclipse 10 安装 3、安装Flash builder, 安装成功后(我安装在D:\tools\adobe\Adobe Flash Builder 4.7) 进入安装的目录, 打开文件夹utilities, 双击Adobe Flash Builder 4.7 Plug-in Utility应用程序, 根据提示选择下一步等(中间两步选择安装目录,以次为:1、选择安装的Flash builder目录, 2、选择myeclipse安装的目录一定要是myeclipse.exe运行程序存在的地方) 4、重启my ...
使用DIV嵌套模式 如: <div style="width:400px;height:400px;margin:-153px 0px 0px -500px;"> <iFrame src="http://www.hao123.com" width="900" height="600" scrolling="no"> </iFrame> </div> 通过调整div margin属性,显示想要显示的内容。 iframe的width ...
转自:http://cwind.iteye.com/blog/1666646  有很多文件不必使用git管理。例如Eclipse或其他IDE生成的项目文件,编译生成的各种目标或临时文件等。使用git status时,会在Untracked files里面看到这些文件列表,在一次需要添加的文件比较多 ...
Global site tag (gtag.js) - Google Analytics