自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(43)
  • 资源 (6)
  • 收藏
  • 关注

原创 Commons FileUpload1.21和1.3版本 升级到Commons FileUpload1.5升级说明中“ simple yet flexible means ” 是哪种方法

Commons FileUpload1.21和1.3到Commons FileUpload1.5 如何升级、问题在哪请大佬教一下,不甚感激!

2023-03-09 09:43:24 2536 1

原创 VS配置git:请确保已在 Git 中配置您的 user.name user.email 然后设置提示fatal not in a git directory

一、安装git后配置一下git.path我是找到setting.json配置的如截图:二、上传提交代码的时候,提示配置user.name 和user.email打开终端设置的时候提示:fatal not in a git directory其实VSCode已经提示了设置的命令。我直接在VSCode的终端设置就完成了git config --global user.name "name"git config --global user.email "email"...

2021-09-14 16:20:33 3987

原创 struts2-core-2.3.15.1遇到两个漏洞升级最新版【Struts 2.5.26】

一、背景一个老网站Struts2版本struts2-core-2.3.15.1,遇到两个漏洞。①被查到存在编号【Struts2 S2-045 远程命令执行漏洞,CVE编号CVE-2017-5638】;受影响版本:【Struts 2.3.5 – Struts 2.3.31 Struts 2.5 – Struts 2.5.1】。②升级版本过程中查询到存在另一个漏洞。计划升级到相近版本2.3.37。但在查询网上帮助时,发现有另一个漏洞;【Struts2 S2-061 远程代码执行漏洞(CVE-202.

2021-04-20 15:58:08 1380 2

原创 Struts 2漏洞及其影响版本(记录备查)

1、Struts 2被曝存在远程命令执行漏洞,漏洞编号S2-045,CVE编号CVE-2017-5638,在使用基于Jakarta插件的文件上传功能时,有可能存在远程命令执行,导致系统被黑客入侵。Struts 2.3.5 – Struts 2.3.31 Struts 2.5 – Struts 2.5.12、3、...

2021-04-19 02:00:40 532 1

原创 vue使用element el-table实现动态表头数据表、并滚动展示列表

#vue使用el-table,实现动态数据表、并滚动展示###tableLabel表头数据,支持条数、宽度设置###tableData存放所有数据,###showList存放用于展示的数据,###使用setInterval定时更新showList(删除第一条,末尾添加一条)###并通过vue computed实时更新渲染数据,实现滚动效果###style 取消滚动条#代码如下:<template> <div class="tbDynam"> <el-

2020-10-19 15:52:04 2887

原创 Java读取网页HTML 汉字乱码 (已解决,bufferedReader中编码改成跟网页的一致即可)

#网页HTML的编码是gb2312<meta http-equiv="Content-Type" content="text/html; charset=gb2312">#Java用utf-8 读取汉字乱码,读取网页HTML内容后输出汉子乱码 URLConnection urlConnection = new URL(url).openConnection(); HttpURLConnection connection = (HttpURLConnection) url

2020-09-08 14:22:24 1173 2

原创 问题已解决!!!Error starting ApplicationContext . LoggingFailureAnalysisReporter

Error starting ApplicationContext . LoggingFailureAnalysisReporterError starting ApplicationContext LoggingFailureAnalysisReporterError starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.2020-09-0

2020-09-05 14:50:07 281

原创 将echarts柱状图所有值显示在对应柱的最高值(100%)处

需求:echarts想将柱状图的0% 1% 2%到100%的所有值,都显示在100%处。如图:我想到了用一个重叠透明的柱顶起值,但如何series[0] 的top去显示series[1]的值??...

2019-11-07 21:20:11 3821 1

原创 jeecgService.findByQueryString  内含实体的

jeecgService.findByQueryString  内含实体的jeecgService.findByQueryString( from BaseEntity flo where flo.AEntity=+id+

2019-01-25 10:27:15 546

原创 jeecg poi ,jeecg minidao ,jeecg全教程

@ExcelEntity(name="对象" )    private TargetEntity targetEntity;//适用对象  →jeecg在线教程←点此进入

2019-01-08 17:31:14 993

原创 判段实体是否为null if(entity!=null)报 java.lang.NullPointerException但是if( null !=entity)不会报错是什么问题

 if(entity !=null)会报下面的空指针错误,但是if( null !=entity)不会报错 [2018-12-28 17:08:20] [ERROR] [net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator:122] Exception on flushing of replication queue: nul...

2018-12-28 17:12:04 1147

转载 apache httpclient的使用

1、HttpClient入门教程:https://blog.csdn.net/msyqmsyq/article/details/788522732、java-HttpGetPost-图片字节流上传:https://www.cnblogs.com/xjh713/p/6075844.html

2018-11-14 11:48:38 182

原创 for 循环 continue和break 的区别

如果for里面含有 if 判段语句,continue和break对if语句是没有影响的。continue是运行for循环的下一个item,继续执行for循环break是跳出for循环。下面这个情况必须用break否则for循环异常报错for(Map&lt;String, Object&gt; m:list){ if(m.get("key")==null){ i...

2018-09-14 10:48:12 307

原创 考试系统实现题目列表和答案的提交

前提:我已有题库,答案,试卷,试卷题库对应表实现我是这么想的:1、题目ID列表,试卷的题目列表c:forEach页面列出来,题目下隐藏题目列表list&lt;input type="hidden" name="questionList[ ${status.index}]" value="${question.id}"&gt;2、题目答案列表,同上c:forEach列出题目选项option...

2018-09-11 11:23:59 2808

原创 java String 转 int parseInt

private Integer str2Int(String s){ Integer x=0; try{ x=parseInt(s); }catch (NumberFormatException e){//不能转换则用ascii码查字符转 char[] array=s.toCharArray(); for(int i=0;i...

2018-08-17 00:17:36 1140

原创 求助:eclipse无法解析导入 javax.servlet.ServletContextEvent

1、有javax.servlet-api-3.0.1-sources.jar 和javax.servlet-api-3.0.1.jar2、controller中提示:无法解析类型 javax.servlet.http.HttpServletRequest。从必需的 .class 文件间接引用了它。3、在启动时候报错如下严重: Error configuring application ...

2018-08-11 14:12:59 5823

原创 java.lang.IllegalStateException: getOutputStream() has already been called for this response

Jason返回值哟null会报这个错description The server encountered an internal error that prevented it from fulfilling this request.exceptionorg.apache.jasper.JasperException: java.lang.IllegalStateException...

2018-08-10 13:27:14 1275

原创 jeecg启动不了,SNAPSHOT代码生成包下载转换失败怎么办?:codegenerate:3.6.2-SNAPSHOT/maven-metadata.xml from/t

[INFO] &gt;&gt;&gt; tomcat7-maven-plugin:2.2:run (default-cli) @ jeecg &gt;&gt;&gt;Downloading:http://maven.jeecg.org/nexus/content/repositories/jeecg/org/jeecgframework/codegenerate/3.6.2-SNAPSHO……...

2018-07-27 10:19:23 3305 4

原创 jeecg dataGrid like 模糊查询 (在值两边分别加 *% 和 %* )

if (!"".equals(entity.getCaseTitle()) &amp;&amp; entity.getCaseTitle() != null) { if (entity.getCaseTitle().length() &gt; 1) {//模糊查询 entity.setCaseTitle("*%" + entity.getCaseTitle() + "%*...

2018-07-23 11:45:29 1551

原创 Uncaught TypeError: window.top.$(...).tabs is not a function (jeecg 打开新tab

请教大神:为什么我的jeecg,curdtools_zh-cn.js里的closetab 方法关闭不了当前的标签页。具体情况:1、在首页hplushome.jsp创建了个&lt;t:datagrid&gt;利用&lt;t:dgfunOpt调用自定义函数打开了个tabfunction op(id,state) { debugger; window.top.addOneTab(id,"c...

2018-06-28 18:14:47 4506 4

转载 (2018年7月11日更新)webuploader mimeTypes 文件格式过滤类型大全

以下是对应的type类型 .3dm x-world/x-3dmf.3dmf x-world/x-3dmf.a application/octet-stream.aab application/x-authorware-bin.aam application/x-authorware-map.aas application/x-authorware-s...

2018-06-11 16:34:29 9696

转载 Windows系统盘符更改(diskmgmt.msc)

Windows系统盘符修改(diskmgmt.msc)

2018-06-11 11:15:00 3505

原创 jeecg datagrid dgtoolBar 自定义方法funname的宽度设置

方法一:&lt;t:dgToolBar title="添加" icon="" url="" funname="" width="100%" height="100%" funname="add"&gt;&lt;/t:dgToolBar&gt;这里的设置,只能设置是否是100%,&lt;t:dgToolBar title=&quot

2018-05-04 14:28:43 5671

原创 老记不住这个js判断radio的写法

function check(form){ if (form.name.value==""){alert("请输入登录名称!");form.name.focus();return false;}if (form.pwd.value==""){alert("请输入密码!");form.pwd.focus();return false;}if(form.ident[0]

2014-01-10 13:28:39 2024

原创 domino and mmc.exe (1936/0x790) has terminated abnormally

Process C:\Windows\system32\mmc.exe (1936/0x790) has terminated abnormally  HTTP Web Server: Lotus Notes Exception - Unknown OS error["链接地址"]what th hell

2013-11-14 16:55:30 2906

原创 环境配置"错误:找不到或无法加载主类HelloWorld"之疑

之前一直用myeclipse在写java程序,某天发现我安装的jdk1.7,怎么只有一个jre在安装程序的 java目录下。神了!于是再重新安装了jdk,配置了环境classpath:.;%JAVA_HOME%\lib\tool.jar;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\bin;JAVA_HOME:C:\Program Files\Java\jdk1

2013-07-02 15:31:17 18267 3

原创 这几天做一个项目练习,汉字中文存入mysql就乱码

这几天做一个项目练习,汉字中文存入mysql就乱码环境:          我的数据库是mysql,ide是myeclipse10,页面是jsp和html,框架是ssh的问题:         刚开始发现中午输入就成了"????",每个字就一个?,我就后台输出看看,都没问题,但是存入数据库后,就出错;我用mysql-front直接添加数据则可以是中文,取出到页面也可以,没错。但从页

2013-01-18 17:05:05 3715 1

原创 java.lang.StringIndexOutOfBoundsException: String index out of range: 1这是怎么回事?

String index out of range: 1range: 2`````````````````信息: Server startup in 15044 ms服务器启动完成找到list,list=logService.findAll("condition",page);logList = list.subList(1,30); 后台输出:==toSerc

2012-09-10 11:18:04 19187 1

原创 org.springframework.dao.InvalidDataAccessResourceUsageException: could not execute query; nested exc

org.springframework.dao.InvalidDataAccessResourceUsageException: could not execute query; nested exception is org.hibernate.exception.SQLGrammarException: could not execute query   我的SSH项目原本使用的s

2012-08-15 14:16:49 15435 4

原创 org.springframework.dao.DataIntegrityViolationException: could not insert: [com.front.model.user.Use

1、org.springframework.dao.DataIntegrityViolationException: could not insert: [com.front.model.user.User]; nested exception is org.hibernate.exception.ConstraintViolationException: could not insert:

2012-07-19 15:32:33 17491 1

原创 org.apache.catalina.core.StandardContext listenerStart(Error creating bean with name 'sessionFactory

信息: Initializing Spring root WebApplicationContext2012-7-18 11:15:31 org.apache.catalina.core.StandardContext listenerStart严重: Exception sending context initialized event to listener instance of c

2012-07-19 10:26:07 3949 4

原创 接下来学习一下HibernateTemplate

做了SSH框架,但是没有进行model和数据库的mapping,接下来我就来学习一下吧!先学HibernateTemplate!首先,我先来网搜一下各种用法吧:http://www.blogjava.net/keweibo/articles/150094.html**********************************************************

2012-07-17 15:34:51 865

原创 java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils 一个错误引发的血案 struts2-blank的所有 包

我新建了一个项目,还没有业务,只有web.xml配置,struts.xml的配置只是随便点···出了个错···java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils我出了这么一个错,不知道是什么包不对,还是哪里配置不对。于是我找错,我百度,有网友说是可能web.xml或包不够·····其中有个老兄说,把app

2012-07-06 11:18:21 27061 9

原创 严重: Exception starting filter struts2 --Unable to load configuration. - bean - jar:file:

严重: Exception starting filter struts2Unable to load configuration. - bean - jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/firstStrutsProject/WEB-INF/lib/struts2-sp

2012-06-29 11:06:11 3737

原创 AnnotationSessionFactoryBean和LocalSessionFactoryBean

关于AnnotationSessionFactoryBean和LocalSessionFactoryBean这两种SessionFactoryBean是配置hibernate配置实体及字段与表的映射时的两种不同方法。他们的使用与否在applicationContext.xml中配置,具体配置快去学习吧!一、annotation是注释、注解 的意思,在hibernate配置实体及字段与表的映

2012-06-28 10:24:47 11906 3

原创 Hibernate SQL 方言(hibernate.dialect)

Hibernate SQL 方言(hibernate.dialect)RDBMSDialectDB2org.hibernate.dialect.DB2DialectDB2 AS/400org.hibernate.dialect.DB2400DialectDB2 OS390org.hibernate.dialect.

2012-06-28 09:49:36 5005

原创 The requested resource (/staf/staf_addStaf.action) is not available. 和 There is no Action mapped f

The requested resource (***.action) is not available.  和  There is no Action mapped for namespace / and action name**以及There is no  Action mapped for action name ***.actionThe requested resource (**

2012-06-28 09:49:04 2305

原创 s2sh启动错误,网上说包没全,请大侠帮我看看java.lang.NoClassDefFoundError: org/springframework/asm/ClassVisitor

严重: Context initialization failedjava.lang.NoClassDefFoundError: org/springframework/asm/ClassVisitor at org.springframework.context.support.AbstractRefreshableApplicationContext.customizeBeanFact

2012-06-26 10:04:07 5697 3

原创 ERROR ContextLoader:238 - Context initialization failed>>org.springframework.beans.factory.BeanCreat

2012-4-8 17:03:49 org.apache.catalina.core.AprLifecycleListener lifecycleEvent信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the ja

2012-04-08 18:04:07 3308

原创 ssh : ERROR ManagerBase:373 -***-java.io.EOFExceptio

ERROR ManagerBase:373 - IOException while loading persisted sessions: java.io.EOFExceptiojava.io.EOFExceptio:*************************************************************************************

2012-04-07 19:21:42 1111

site-1.8.10.zip

是site-1.8.10.zip,免费下载,其实官网上都可以下载,只是为了方便大家

2012-08-24

spring-web.jar

spring-web jar包 ,SSH配置的jar包 配置了监听器,还出现严重: Error configuring application listener of class org.springframework.web.context.ContextLoader就需要它 (不要资源分哦)

2012-07-17

vc++面向对象王育坚第二版习题2-87

动态数组学生成绩处理,输入任意数量学生序号姓名成绩倒序输出

2011-04-22

微机原理、汇编与接口技术(朱定华 编著)第3章习题参考答案

很好 微机原理、汇编与接口技术(朱定华 编著)第3章习题参考答案

2010-04-12

微机原理、汇编与接口技术(朱定华 编著)第二章习题参考答案

很好的资料 希望大家好好好学习 多多考虑

2010-04-12

五笔打字通9.0 试试吧!练练五笔打字会快些

五笔打字通9.0 试试吧!练练五笔打字会快些

2009-09-20

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除