- 博客(25)
- 收藏
- 关注
原创 nginx+ssl 更改默认443端口
1. 通常代理之后会出现一种情况是服务的js,css文件无法加载A.样式的地址还是http tomcat需要增加 <Valve className="org.apache.catalina.valves.RemoteIpValve" remoteIpHeader="X-Forwarded-For" protocolHeader="X-Forwarded-Proto" protocolHeaderHttpsValue="https"/>B.地址中缺少https的...
2021-07-20 13:56:30
7191
原创 drools workbench 7.8部署
1.参考文章https://blog.youkuaiyun.com/weixin_38765072/article/details/80824750部署2.特别注意 setenv.bat 文件,编辑成一行3.启动可能报错 kie-drools-wb 缺少jar包jackson-mapper-asl-1.9.13.jar,jackson-core-asl-1.9.13.jar 4.启动成功,打开...
2018-08-07 09:57:34
461
原创 eclipse无法添加server tomcat服务的问题
现象:添加server一直卡死解决:1.关闭Eclipse 2.删除WorkSpace目录下/.metadata/.plugins/org.eclipse.core.runtime/.settings目录中的org.eclipse.wst.server.core.prefs和org.eclipse.jst.server.tomcat.core.prefs 3.重启Eclipse...
2018-07-26 15:26:09
445
原创 maven bulid怎么会出现BOOT-INF
1.现象:通过maven install达成jar,目录中出现BOOT-INF2.独立项目解决: org.springframework.boot spring-boot-maven-plugin [color=red] exec ...
2018-07-25 16:08:15
1853
2
原创 分布式实现redis锁 出现错误Could not get a resource from the pool
[color=red]具体错误信息:[/color]Exception in thread "d窗口" org.springframework.data.redis.RedisConnectionFailureException: Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.Je...
2018-04-24 15:06:54
809
原创 关于浏览器及窗口的关闭
--关闭tab页及整个浏览器function window.onbeforeunload() { if (window.event.clientY
2010-08-30 17:09:34
153
根据路径选择node
// 展开所在的路径的节点_treePanel.expandPath(_selectedPath); // 根据路径选中_treePanel.selectPath(_selectedPath);
2010-08-03 11:53:26
132
原创 case when 无法执行,为什么
Hql 语句:select sum(case when to_char(t.accountinoutDate,'yyyymmdd hh24:mi:ss') < to_char(to_date('2010-07-01 00:00:00','yyyy-mm-dd hh24:mi:ss'),'yyyymmdd hh24:mi:ss') then (case when t.accountinoutDi...
2010-08-02 09:04:57
476
原创 让IE6,IE7,IE8共存
结合网络上各位先者的经验和我自己的实践让简体中文版的IE6 IE7 IE8共存先下载Internet Explorer CollectionInternet Explorer Collection官方下载地址:http://finalbuilds.edskes.net/iecollection.htm如果你的系统目前的浏览器是IE6下载简体中文版的IE7和IE8如果你的系统...
2010-07-15 17:05:32
169
原创 htmleditor 有换行等标签,无法提交
htmleditor 有换行等标签,无法提交,原因response.responseText的格式不对。不晓得怎么解决
2010-07-14 15:25:46
263
监控关闭窗口,点击确定执行事件
var blnCheckUnload = true; var t = false; window.onbeforeunload = function() { if(blnCheckUnload) { return("Are You Sure?"); } } window.onunload = function() { ...
2009-07-13 20:20:30
229
ext的ajax提交
var editForm=Ext.getCmp('formId').form.getValues();// formId为表单idvar beanName = 'bean.';var bean = {};for (var i in editForm) { bean[beanName + i]=editForm[i];}var infoArray = []; var ...
2009-07-07 13:26:06
121
原创 java.lang.IllegalAccessException
Servlet.service() for servlet default threw exceptionjava.lang.IllegalAccessException: Class com.googlecode.jsonplugin.JSONWriter can not access a member of class org.apache.commons.dbcp.PoolingData...
2009-07-07 13:15:36
228
原创 表格无数据添加滚动条
grid 为gridPanel或者editorGridPanelExt.getCmp('grid').getView().mainBody.setWidth(Ext.getCmp('grid').getView().getTotalWidth());或者Ext.select(".x-grid3-body").setWidth(Ext.getCmp('grid').getView().g...
2009-06-30 15:40:20
189
resize/bodyresize,monitorResize
/* monitorResize: true, doLayout: function() { this.setWidth(window.screen.width); Ext.grid.GridPanel.prototype.doLayout.call(this); } ,*/ listeners :{ bodyresize:function() {...
2009-06-15 15:14:20
274
原创 设置body高度为浏览器页面高度
html, body {height:100%; overflow:hidden;}overflow:hidden是为了避免ff下可能出现的竖向滚动条(在使用frame的情况下)
2009-06-08 11:35:11
951
中文转成unicode工具active2ascii.exe
native2ascii.exe 在jdk1.5.0\bin目录中直接在cmd中输入命令:native2ascii 源文件名.txt 新文件名.txt反编译: native2ascii -reverse 源文件名.txt 新文件名.txt指定编码:native2ascii -encoding utf8 源文件名.txt 新文件名.txt指定编码的反编译:native...
2009-05-08 09:39:08
206
fckeditor helloword
1.官方网站http://www.fckeditor.net/下载FCKeditor_2.6.4.zip及for java for java 2.4.1 包2.将fckeditor复制到WebRoot下面,去掉其中所有"_"开头的文件及文件夹3.修改fckconfig.js文件 1).修改语言为中文 FCKConfig.AutoDetectLanguage = f...
2009-05-07 11:21:01
92
文件上传的时候弹出Error on file upload.Error number:203
struts2.0 与 fckeditor2.6.3的整合问题:上传图片时弹出Error on file upload.Error number:203如附件 error.jpg的错误原因:fck的servlet被struts2转发了解决:在web.xml中修改filter-mapping将 struts2 ...
2009-05-06 13:29:09
591
shh整合出现no session or session was closed
[b]项目使用hibernate3.1 + spring2.0 + struts1.3[/b]set集合延迟加载出现的问题如下org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.jessie.common.model.JyAttribute.code...
2009-04-27 15:12:24
148
启动项目时弹出IOConsole Updater error的错误
环境:myeclipse6.0.1 + jboss + oracle92项目启动的时候老弹出IOConsole Updater error的错误.解决:右击控制台--》pereferences-->去掉fixed with console前面的勾
2009-04-16 09:23:04
412
javax.naming.NameNotFoundException
tomcat启动时候出现如下出错Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerorg.springframework.beans.factory.BeanCreationExcepti...
2009-03-31 11:25:57
1834
ext在div中书写样式text-align:center表头失踪
body中的代码 /*改变颜色*/ function pctChange(val){ if(val == 1 ){ return '男'; }else if(val == 0){ return '女'; } return val;...
2009-03-30 16:20:49
324
buffalo
1.添加buffalo.jar,spring.jar,commonslogging1.1.jar, buffalo.js,prototypes.js添加到项目2.项目中添加buffalo部分就不重复了,详细请参考 http://chenlb.iteye.com/blog/1965493.具体讲下将buffalo-service.properties 替换成spring的配...
2009-03-27 17:03:32
230
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人