上一页 1 2 3 4 5 6 ··· 13 下一页
摘要: 需求要求审核过程中都用匿名进行用户注册登录,注册用户审核通过后才使用openfire内置表如何做到用户密码统一Openfire是通过org.jivesoftware.util.Blowfish.java实现的加密。密钥:在openfire的数据库中有表ofproperty,其中就有passwordK... 阅读全文
posted @ 2015-09-29 17:27 Anlycp 阅读(911) 评论(0) 推荐(0) 编辑
摘要: 网上很多openfire相关资料,这里做下学习汇总openfire官网:http://www.igniterealtime.org/可以下载openfire、spark、smack安装包及源码,安装很简单直接选下一步就好openfire数据库配置:自带数据库:http://www.cnblogs.c... 阅读全文
posted @ 2015-09-23 14:16 Anlycp 阅读(507) 评论(0) 推荐(0) 编辑
摘要: com.richfit.MobileBI企业决策分析企业决策分析.. that represents application version which can be used to check for application upgrade. Values can also be 1-par... 阅读全文
posted @ 2014-10-31 14:29 Anlycp 阅读(693) 评论(0) 推荐(0) 编辑
摘要: 下面类支持POST和GET请求,请求数据和出错将返回package com.sole.util{ import flash.events.Event; import flash.events.HTTPStatusEvent; import flash.events.IEventDi... 阅读全文
posted @ 2014-07-16 17:59 Anlycp 阅读(1604) 评论(0) 推荐(0) 编辑
摘要: table a(id, type):id type----------------------------------1 12 13 2table b(id, class):id class---------------------------------1 12 2sql语句1:select a.*, b.* from a left join b on a.id = b.id and a.type = 1;sql语句2:select a.*, b.* from a left join b on a.id = b.id where a.type = 1;sql语句3:select a.*, b 阅读全文
posted @ 2014-01-02 18:05 Anlycp 阅读(320) 评论(1) 推荐(0) 编辑
摘要: 单个数据库配置:一般spring容器启动时,通过PropertyPlaceholderConfigurer类读取jdbc.properties文件里的数据库配置信息。通过这个原理,我们把加密后的数据库配置信息放到jdbc.properties文件里,然后自定义一个继承PropertyPlaceholderConfigurer的类重写processProperties方法,实现解密,把解密后的信息又放回去。修改明细请参考此文章: http://wjlvivid.iteye.com/blog/1736462多个数据库配置:新建BasicDataSource扩展类,重写setPassword和set 阅读全文
posted @ 2013-12-18 14:30 Anlycp 阅读(6956) 评论(0) 推荐(1) 编辑
摘要: 由于添加了自定义右键菜单,导致Textinput控件默认的右键复制粘贴功能被屏蔽了。最后通过JS脚本实现这个功能,参考代码如下 1 2 5 6 7 8 9 10 11 33 34 35 36 66 67 68 69 70 71 注:目前只支持IE和搜狗浏览器 阅读全文
posted @ 2013-11-14 14:48 Anlycp 阅读(846) 评论(0) 推荐(0) 编辑
摘要: 最近做Flex里的Excel下载,用as3xls进行Excel导出后,Excel修改编辑后老出现:不能以当前格式保存。。。若要保存所做的更改,请单击“确定”,然后将其另存为最新的格式。最后通过JAVA的POI实现Excel下载的,具体实现思路: 1.DataGrid数据传到服务器。 2.打开Excel模板。 3.向模板写入数据。 4.客户端下载写好的Excel。 前台Flex代码 public function ToExcel(dg:AdvancedDataGrid,name:String) { ... 阅读全文
posted @ 2013-09-30 15:14 Anlycp 阅读(904) 评论(0) 推荐(0) 编辑
摘要: 原来都用IE进行调试的,今天安装了火狐浏览器,结果出现调试器找不到的错误,如下图需要做下面设置 "窗口"—>"首选参数",下图位置勾选项改为IE,问题就解决了 O(∩_∩)O哈! 阅读全文
posted @ 2013-09-25 17:16 Anlycp 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 在做struts2、spring网站时,在系统闲置一段时间后,访问页面会出错,第二次再访问就正常了。后来查了后台日志,发现是数据库连接关闭了,导致页面访问出错。页面上报空指针错误,错误没有保留,日志中记录的错误如下:ERROR (java.sql.Connection:19)- Error calling Connection.close:java.sql.SQLException: Already closed.at org.apache.commons.dbcp.PoolableConnection.close(PoolableConnection.java:84)at org.apach 阅读全文
posted @ 2013-09-05 09:53 Anlycp 阅读(775) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 13 下一页