- 博客(27)
- 资源 (17)
- 收藏
- 关注
原创 rabbitmq 406 错误
rabbitmq 启动报错:com.rabbitmq.client.ShutdownSignalException: channel error; reason: {#method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'durable' for queue ...
2018-08-01 09:37:10
5486
转载 java项目http变更https
1、生成 .KeyStore文件C:\Users\dell>keytool -genkey -alias tomcat -keyalg RSA输入密钥库口令:再次输入新口令:您的名字与姓氏是什么? [Unknown]: Lu您的组织单位名称是什么? [Unknown]: isoft您的组织名称是什么? [Unknown]: Galaxy您所在的城市或区域名称是什么?
2017-10-27 14:57:34
4095
原创 openlayers3调用GeoServer发布的wfs
openlayers3调用GeoServer发布的wfs<!doctype html><html><head><meta charset="utf-8"><title>Load wfs</title> <!-- The line below is only needed for old environments like Internet Explorer and Android 4
2017-07-25 17:49:07
3305
原创 openlayers3异步调用geojson, Ajax
<!doctype html><html><head><meta charset="utf-8"><title>Load Json</title> <!-- The line below is only needed for old environments like Internet Explorer and Android 4.x --> <script src="js/
2017-07-25 16:17:54
3153
原创 threejs 鼠标移动控制模型旋转
<!doctype html><html><head><meta charset="utf-8"><title>threejs鼠标移动控制模型旋转</title></head><body> <script src="js/threejs/three.js"></script> <!--<script src="http://jsrun.it/assets/a/q/3/W/aq3
2017-05-17 15:20:48
14546
原创 js调用iframe内函数
代码例子:<!doctype html><html><head> <meta charset="utf-8"> <title>js invoke iframe inner function</title> <style> *{ margin: 0; padding:0;} </style></head><body> <iframe id="t
2017-01-05 15:17:32
6043
1
转载 iframe与主框架跨域相互访问方法
1.同域相互访问假设A.html 与 b.html domain都是localhost (同域)A.html中iframe 嵌入 B.html,name=myframeA.html有js function fMain()B.html有j
2017-01-05 14:52:05
3727
原创 action中调用Spring 注解 service 总是为空
Action中调用Spring的注解的service层总是为空,但是在使用getBean却能得到service的bean。原因: 缺了一个jar包:struts2-spring-plugin-2.x.xx.x.jar包 因为Action类没有交给spring来管理造成的。 要想将Action类交给spring来管理,必须加上这个jar。参考: http://blog.youkuaiyun.com/taoo
2016-04-01 16:13:28
1338
原创 使用dragdealer.js实现拖拉效果
dragdealer.js拖拉效果的jquery插件。<!doctype html><html><head><meta charset="utf-8"><title>content scroller</title><style>h4 { margin: 30px 0 10px 0; color: #666; font-size: 20px; font-weight: nor
2016-03-16 16:03:55
3988
原创 html5+d3 svg 线条、图形颜色渐变动画
代码如下:<!doctype html><html><head><meta charset="utf-8"><title>线条、图形颜色渐变动画</title><script src="js/jquery.min.js"></script><script src="js/d3.js"></script><script> $(document).ready(function(){
2016-01-05 11:40:23
8575
原创 将tomcat映射到不同的域名
1. 首先需要在OS中添加域名 Hosts文件存放在C:\Windows\System32\drivers\etc下,因为hosts文件不能在当前文件夹下被修改,所以先把hosts复制一份到其它地方,然后修改。 添加了如下内容: 127.0.0.1 lhx.com 127.0.0.1 test.com 然后将保存后的文件copy到原先的位置。 这样在本地添加域名就成功了,可以在浏览
2015-11-27 18:08:35
2341
原创 SVG+CSS3 简单线条动画
CSS3:#g1 path { stroke-dasharray: 1000;/*当线条很长很长的时候,这个值也要相应的的增大,否则会导致线条变成线段*/ stroke-dashoffset: 1000;/*当线条很长很长的时候,这个值也要相应的的增大,否则会导致线条变成线段*/ animation: dash 5s linear infinite;}@keyframes dash {
2015-11-27 15:06:52
4995
原创 SVG 在线编辑器
Method Draw 是一款在线 SVG 编辑器,是 SVG Edit 的一个分支。Method Draw 的目的是改进 SVG Edit 的可用性和用户体验。它移除了 line-caps/corners 等功能以提供一个简单愉悦操作体验。功能强大的svg 在线编辑器(svg editor) http://editor.method.ac/
2015-11-24 15:14:04
3639
原创 struts2上传下载文件中遇到的乱码问题
struts2上传下载文件所需jar包 上传下载类 FileUploadAction.javapackage action;import java.io.File;import java.io.FileInputStream;import java.io.FileOutputStream;import java.io.IOException;import java.io.InputStr
2015-09-11 16:56:17
617
原创 hibernate二级缓存测试
SessionFactory类:import org.hibernate.Session;import org.hibernate.SessionFactory;import org.hibernate.cfg.Configuration;import org.hibernate.stat.Statistics;public class HibernateSessionFactory {
2015-08-13 17:34:59
1956
原创 hibernate 一级缓存测试
Session工厂类:import org.hibernate.Session;import org.hibernate.SessionFactory;import org.hibernate.cfg.Configuration;import org.hibernate.stat.Statistics;public class HibernateSessionFactory { priv
2015-08-10 15:21:28
448
转载 Hibernate缓存机制
一、why(为什么要用Hibernate缓存?)Hibernate是一个持久层框架,经常访问物理数据库。为了降低应用程序对物理数据源访问的频次,从而提高应用程序的运行性能。缓存内的数据是对物理数据源中的数据的复制,应用程序在运行时从缓存读写数据,在特定的时刻或事件会同步缓存和物理数据源的数据。二、what(Hibernate缓存原理是怎样的?)Hibernate缓存包括两大类:Hibernate一级
2015-08-10 14:59:18
418
原创 java多线程读取一个文件
package thread;import java.io.File;import java.io.FileNotFoundException;import java.io.IOException;import java.io.RandomAccessFile;import java.util.concurrent.CountDownLatch;public class ReadFileBy
2015-08-07 17:19:18
2629
原创 java 多线程读取多个文件 和 不用线程读取多个文件
多线程读取多个文件package thread;import java.io.File;import java.io.IOException;import java.io.RandomAccessFile;import java.util.concurrent.CountDownLatch;public class ReadMultiFilesByThread { /** *
2015-08-07 16:12:40
10026
原创 cxf webservice执行数据库操作
cxf webservice执行数据库操作,做个笔记,以免以后忘了。IUserService.javapublic interface IUserService { public User getUser(User user); public void addUser(User user); public User getUserByUsername(String usern
2015-07-10 15:00:22
1626
原创 hibernate4 + spring3 整合报错问题
错误:java.lang.NoSuchMethodError: org.hibernate.SessionFactory.openSession()Lorg/hibernate/classic/Session;原因:Hibernate4和Hibernate3不一样的地方 1.不能在使用HibernateTemplate,Spring已经不建议使用了,应该将SessionFa
2015-06-16 14:05:29
587
原创 flex4 整合java ee 练习——HelloWorld
一、修改 web.xml文件,添加如下代码<display-name>BlazeDS</display-name> <description>BlazeDS Application</description> <!-- Http Flex Session attribute and binding listener ...
2012-04-12 09:48:33
145
原创 Spring AOP Example – Pointcut , Advisor
In last Spring AOP advice examples, the entire methods of a class are intercepted automatically. But for most cases, you may just need a way to intercept only one or two methods, this is what ‘Pointcu...
2012-03-27 16:09:55
129
原创 Spring AOP Interceptor transaction is not working
ProblemThe Spring AOP transaction is not working in following interceptors? <bean id="testAutoProxyCreator" class="org.springframework.aop.framework.autoproxy.BeanNameAutoPro...
2012-03-27 16:07:59
129
原创 Spring AOP + AspectJ annotation example
In this tutorial, we show you how to integrate AspectJ annotation with Spring AOP framework. In simple, Spring AOP + AspectJ allow you to intercept method easily.Common AspectJ annotations :@Be...
2012-03-27 16:02:40
280
原创 Spring AOP + AspectJ in XML 配置示例
In this tutorial, we show you how to convert last Spring AOP + AspectJ annotation into XML based configuration.For those don’t like annotation or using JDK 1.4, you can use AspectJ in XML based inst...
2012-03-27 15:36:50
117
原创 cxf应用--通过接口将数据保存到数据库
服务器端代码:ITestSendData.java[code="java"]package testcxf;import javax.jws.WebService;import javax.jws.soap.SOAPBinding;import javax.jws.soap.SOAPBinding.Style;import pojo.TestJmsCxf;@...
2012-03-13 17:14:48
287
actiBMP -idea activiti 插件
2020-10-20
greensock-js version:1.19.1
2017-01-24
load-image.min.js
2016-04-14
httpcomponents-client-4.5.2-bin.zip
2016-03-09
pydev for eclipse plugin(eclipse安装python插件)
2015-01-09
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人