自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(16)
  • 收藏
  • 关注

原创 idea 2021.2.1版 快速创建建springboot项目

1.2.选择视图模板3.创建Controller代码如下import org.springframework.stereotype.Controller;import org.springframework.web.bind.annotation.RequestMapping;@Controllerpublic class HelloController { @RequestMapping("/index") public String sayHello(...

2021-09-14 18:16:37 2050

原创 帆软中多个文本框插入相同数据方法,关联文本框同时修改

利用多选框完成。1.创建多选框控件名为box2.创建多个文本框架控件创建js添加两个事件完成效果图

2021-08-06 16:24:00 705

原创 ide中maven项目部署到tomcat中路径问题和404

这里的web-inf的中文件的位置要放对不然就是404,或Context [] startup failed due to previous errors[2020-02-27 11:05:57,065] Artifact ldcp-web:war exploded: Error during artifact deployment. See server log for detai...

2020-02-27 23:08:55 419

原创 JSON转JS对象,JS对象转JSON,带斜杠报错问题

使用JSON.stringify()之后保存数据库,出现单斜杠,var bean=$.parseJSON('[{"id":0,"width":18,"key":"检验项目"},{"id":1,"width":13,"key":"<lable style=\"display:none\">##lcs_bzgd##</lable><lable style=\"...

2019-05-24 17:45:50 4573 3

转载 springboot+mybatis自动创建表

2.添加依赖本人pom.xml配置&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLoca...

2019-01-24 10:26:10 10766 4

转载 SpringBoot Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration

1. 详细https://blog.csdn.net/csdn_am/article/details/79757097 

2019-01-23 14:45:33 458

转载 多选框用法

https://www.helloweba.net/demo/selectall/演示地址&lt;script&gt;  $(function () {    //全选或全不选    $("#all").click(function(){           if(this.checked){               $("#list :checkbox").prop("chec...

2018-09-21 13:19:11 542

转载 转载:Struts2+Jquery实现ajax并返回json类型数据

http://www.cnblogs.com/lraa/p/3249990.html摘要: 主要实现步骤如下: 1、JSP页面使用脚本代码执行ajax请求 2、Action中查询出需要返回的数据,并转换为json类型模式数据 3、配置struts.xml文件 4、页面脚本接受并处理数据 网上看到很多关于Struts2+ajax+jquery+json的例子,但是很多都不完整,也看不明白,主...

2018-09-21 08:58:42 142

转载 Can't load IA 32-bit .dll on a AMD 64-bit platform

查看Tomcat版本是是32位还是64位

2018-09-17 13:07:55 323

转载 eclipse报错Multiple annotations found at this line: - CoreException: Could not get the

Multiple annotations found at this line:    - CoreException: Could not get the value for parameter compilerId for plugin execution default-     compile: PluginResolutionException: Plugin org.apache....

2018-09-14 09:15:18 5842

转载 Highcharts实现图形报表(我主要实现javaweb开发的图形报表)

 官网网址:https://www.hcharts.cn/中文版的(参考起来方便,你懂的。):http://www.mamicode.com/info-detail-446038.html网上已经有很多详细的介绍,这里直接说怎么用了就;必须引入的三个js插件:http://download.csdn.net/detail/biexiansheng/9744829进入正题:开始介...

2018-09-02 10:37:58 437

转载 jsp中的jstl+el

0、EL:在JSP中,将对象从上下文中取出,并进行输出的简化语言。格式:${[request/session/applicationScope].变量名[index].成员变量},对于集合类型[index]有效。1、JSTL(JSPStandardTagLibrary)是在JSP中使用,旨在用标签的手段完成页面渲染工作的一套标准标签,即以做网页的方式完成编码工作。2、使用JSTL的条件:...

2018-09-02 10:25:36 144

转载 Apache POI使用详解

转载自https://www.cnblogs.com/LiZhiW/p/4313789.html  阅读目录开始 1.POI结构与常用类 2.Excel的基本操作 3.Excel的单元格操作 4.使用Excel公式 5.使用图形 6.Excel表操作 7.Excel行列操作 8.Excel的其他功能 9.POI对Word的基本操作回到顶部1.POI结构与...

2018-09-02 09:25:39 276

转载 模糊查询like

mysql在做多字段模糊查询的时候用的语句是select * from tablename where concat(name,brand) like '%关键词%' 1concat的 作用是 将多条字段拼成字符串。 结果发现有些条目查询不出来问题是 concat()中有任何参数是null 则返回为空解决办法 1、把null的条目让他不是null 2、concat_ws...

2018-09-02 08:56:36 1852

转载 动态查询 sql关键字

1、动态SQL:if 语句  根据 username 和 sex 来查询数据。如果username为空,那么将只根据sex来查询;反之只根据username来查询  首先不使用 动态SQL 来书写 1 2 3 4 5 6 &lt;select id="selectUserByUsernameAndSex"   ...

2018-09-02 08:47:08 2162

转载 使用MyBatis分页插件PageHelper5.0遇到的问题

1.PageHelper5.0版本pagehelper是继承了PageMethod和实现了Dialect,PageInterceptor是实现了Interceptor接口配置出错,com.github.pagehelper.PageHelper&lt;-- 配置mybatis的分页插件PageHelper --&gt;    &lt;plugins&gt;        &lt;!-...

2018-09-01 21:07:11 450

空空如也

空空如也

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

TA关注的人

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