<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[wqh0830的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/wqh0830</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; wqh0830]]></copyright><item><title><![CDATA[Android中使用?和@引用资源的区别]]></title><link>https://blog.csdn.net/wqh0830/article/details/126121140</link><guid>https://blog.csdn.net/wqh0830/article/details/126121140</guid><author>wqh0830</author><pubDate>Tue, 02 Aug 2022 16:16:02 +0800</pubDate><description><![CDATA[Android中使用?和@引用资源的区别]]></description><category></category></item><item><title><![CDATA[JAVAScript把把文件数据保存到本地（下载文件）]]></title><link>https://blog.csdn.net/wqh0830/article/details/125020929</link><guid>https://blog.csdn.net/wqh0830/article/details/125020929</guid><author>wqh0830</author><pubDate>Sat, 28 May 2022 17:46:00 +0800</pubDate><description><![CDATA[// &lt;input type="file" name="file" id="file"/&gt;
let fileEl = document.getElementById("file")
fileEl.onchange = function () {
    let file = fileEl.files[0]
    /*
    把文件转成url
    createObjectURL()参数可以传blob或者file
     */
    let url = URL.createObject.]]></description><category></category></item><item><title><![CDATA[js 数组扁平化和树之间相互转换]]></title><link>https://blog.csdn.net/wqh0830/article/details/124965843</link><guid>https://blog.csdn.net/wqh0830/article/details/124965843</guid><author>wqh0830</author><pubDate>Wed, 25 May 2022 14:40:03 +0800</pubDate><description><![CDATA[function main() {
  let data = [
    {id:"00", name: "李大大", pid:"", job: "项目经理1"},
    {id:"01", name: "张大大", pid:"", job: "项目经理2"},
    {id:"001", name: "王大大", pid:"", job: "项目经理3"},
    {id:"02", name: "小亮", pid:"01", job: "产品leader"},
    {id:"03", nam.]]></description><category></category></item><item><title><![CDATA[HTTP请求编解码原理]]></title><link>https://blog.csdn.net/wqh0830/article/details/124916991</link><guid>https://blog.csdn.net/wqh0830/article/details/124916991</guid><author>wqh0830</author><pubDate>Sun, 22 May 2022 21:36:39 +0800</pubDate><description><![CDATA[System.out.println("======浏览器端======");
String str = "POST /demo/user HTTP/1.1";
System.out.println("1、原始数据：" + str);
str = URLEncoder.encode(str, "UTF-8");
System.out.println("2、utf-8 url编码：" + str);
byte[] data = str.getBytes("ISO8859-1");
System.out.pr.]]></description><category></category></item><item><title><![CDATA[Windows强制杀死指定端口进程]]></title><link>https://blog.csdn.net/wqh0830/article/details/121691722</link><guid>https://blog.csdn.net/wqh0830/article/details/121691722</guid><author>wqh0830</author><pubDate>Fri, 03 Dec 2021 09:41:58 +0800</pubDate><description><![CDATA[以 2771 端口为例：

查看 2771 端口运行的进程


netstat -ano|findstr "2771"



强制杀死指定 pid 进程


taskkill /f /pid 2771 /t



参数：
/f：强制杀死进程
/pid 3272：指定要杀死进程的 pid=3272
/t：杀死该进程和该进程启动的子进程
...]]></description><category></category></item><item><title><![CDATA[修复Windows 10 Windows聚焦功能失效]]></title><link>https://blog.csdn.net/wqh0830/article/details/104814307</link><guid>https://blog.csdn.net/wqh0830/article/details/104814307</guid><author>wqh0830</author><pubDate>Thu, 12 Mar 2020 11:04:14 +0800</pubDate><description><![CDATA[问题描述：

Windows 10个性化设置中，对锁屏界面可以设置为Windows聚焦。在使用系统一段时间或是重置后，可能存在该功能无法正常工作（个性化-锁屏界面中的设置没有变更，始终保持Windows聚焦的状态）

解决方案：

针对聚焦本身功能存在异常工作的情况，需要注意：

Windows 10聚焦属于锁屏界面设置，在没有使用任何账户登陆系统的情况下，可能默认不启动
	出现的症状主要为...]]></description><category></category></item><item><title><![CDATA[vsftpd使用配置虚拟用户认证登录]]></title><link>https://blog.csdn.net/wqh0830/article/details/104684697</link><guid>https://blog.csdn.net/wqh0830/article/details/104684697</guid><author>wqh0830</author><pubDate>Thu, 05 Mar 2020 22:30:47 +0800</pubDate><description><![CDATA[本文介绍配置虚拟用户认证vsftpd。本地用户认证方式查看：RedHat/CentOS-7搭建FTP服务器

注：匿名用户必须依赖于一个宿主用户，这个宿主用户可以是一个已有的本地用户，也可以新建一个本地用户作为宿主用户。本文使用一个已有的other用户作为宿主用户。

一、配置vsftpd.conf

/etc/vsftpd/vsftpd.conf文件添加以下配置：


#以下这些是关于Vsftp...]]></description><category></category></item><item><title><![CDATA[SVN 报错 sqlite[S11]: database disk image is malformed的解决办法]]></title><link>https://blog.csdn.net/wqh0830/article/details/104070054</link><guid>https://blog.csdn.net/wqh0830/article/details/104070054</guid><author>wqh0830</author><pubDate>Wed, 22 Jan 2020 15:09:39 +0800</pubDate><description><![CDATA[问题：有时候不知什么原因svn更新不了还报了如下错误：



此时有三种办法可以修复：

1、删除整个检出的目录，重新检出。

2、到完好的同事机子上复制.svn/wc.db文件来覆盖算坏的文件即可。

。

3、使用sqlite3修复工具修复：

步骤：

1）下载sqlite3修复工具（提取码：kklq）；

2）将 sqlite3.exe 文件解压缩到.svn目录的同级目录



3）打开命...]]></description><category></category></item><item><title><![CDATA[spring boot1.5及以上版本@ConfigurationProperties取消location属性后的替代方案]]></title><link>https://blog.csdn.net/wqh0830/article/details/103697246</link><guid>https://blog.csdn.net/wqh0830/article/details/103697246</guid><author>wqh0830</author><pubDate>Wed, 25 Dec 2019 14:14:31 +0800</pubDate><description><![CDATA[1、从启动类删除@EnableConfigurationProperties注解

2、在注解的类上加上@Component

3、加上@PropertySource("classpath:xxx.properties")注解


]]></description><category></category></item><item><title><![CDATA[获取Spring容器上下文]]></title><link>https://blog.csdn.net/wqh0830/article/details/103142969</link><guid>https://blog.csdn.net/wqh0830/article/details/103142969</guid><author>wqh0830</author><pubDate>Tue, 19 Nov 2019 16:17:38 +0800</pubDate><description><![CDATA[1、web.xml必须配置ContextLoaderListener监听器以及Spring容器上下文配置文件：


&lt;context-param&gt;
    &lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;
    &lt;param-value&gt;classpath:applicationContext.xml&l...]]></description><category></category></item><item><title><![CDATA[JS写出JSON数据到文件]]></title><link>https://blog.csdn.net/wqh0830/article/details/102548683</link><guid>https://blog.csdn.net/wqh0830/article/details/102548683</guid><author>wqh0830</author><pubDate>Mon, 14 Oct 2019 15:11:06 +0800</pubDate><description><![CDATA[&lt;!DOCTYPE html&gt;
&lt;html style="height: 100%"&gt;
	&lt;head&gt;
		&lt;meta charset="utf-8"&gt;
	&lt;/head&gt;
	&lt;body&gt;
		&lt;a id="save" href="#"&gt;保存数据&lt;/a&gt;
		&lt;script&gt;
			func...]]></description><category></category></item><item><title><![CDATA[大白话解说，半分钟就懂 --- 分布式与集群是什么 ？ 区别是什么？]]></title><link>https://blog.csdn.net/wqh0830/article/details/99621291</link><guid>https://blog.csdn.net/wqh0830/article/details/99621291</guid><author>wqh0830</author><pubDate>Thu, 15 Aug 2019 09:36:58 +0800</pubDate><description><![CDATA[PS：这篇文章算是笔记，仅部分文字是原创，相当内容只是收集、整理、提炼、总结别人写的。

没有标为原创 是出于对部分内容原作者的尊重和感谢...

但若你要转载还是请带上我家地址哦，毕竟这些内容都不是现成的哦 ~ ~ ~



一、大白话解说，半分钟就懂，用生活中的例子来说明：



小饭店原来只有一个厨师，切菜洗菜备料炒菜全干。

后来客人多了，厨房一个厨师忙不过来，又请了个厨师，两个厨师...]]></description><category></category></item><item><title><![CDATA[Eclipse安装Mybatis-Generator插件]]></title><link>https://blog.csdn.net/wqh0830/article/details/99125628</link><guid>https://blog.csdn.net/wqh0830/article/details/99125628</guid><author>wqh0830</author><pubDate>Sat, 10 Aug 2019 23:10:51 +0800</pubDate><description><![CDATA[1、引入依赖：


&lt;!-- mysql依赖 --&gt;
&lt;dependency&gt;
	&lt;groupId&gt;mysql&lt;/groupId&gt;
	&lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
	&lt;version&gt;5.1.9&lt;/version&gt;
&lt;/dependen...]]></description><category></category></item><item><title><![CDATA[SpringAOP手写全局异常处理]]></title><link>https://blog.csdn.net/wqh0830/article/details/98968331</link><guid>https://blog.csdn.net/wqh0830/article/details/98968331</guid><author>wqh0830</author><pubDate>Fri, 09 Aug 2019 17:18:26 +0800</pubDate><description><![CDATA[1、使用@AfterThrowing异常通知:

注：使用异常通知，不会完全处理异常，异常会向上继续传递给调用者。

1.1自定义注解：


@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Documented
public @interface ProcessException {
	Class&lt;? exte...]]></description><category></category></item><item><title><![CDATA[SpringAOP五种通知示例]]></title><link>https://blog.csdn.net/wqh0830/article/details/98962417</link><guid>https://blog.csdn.net/wqh0830/article/details/98962417</guid><author>wqh0830</author><pubDate>Fri, 09 Aug 2019 16:57:05 +0800</pubDate><description><![CDATA[0、切点：

0.1：方法切点：


@Pointcut(value="execution(* cn.xxx.ssm.ssmtemplate.service.*.*(..))")
private void addLog1() {}


@Pointcut(value="execution(* cn.xxx.ssm.ssmtemplate.service.*.*(..))&amp;&amp;args...]]></description><category></category></item><item><title><![CDATA[SpringAOP理解]]></title><link>https://blog.csdn.net/wqh0830/article/details/98959913</link><guid>https://blog.csdn.net/wqh0830/article/details/98959913</guid><author>wqh0830</author><pubDate>Fri, 09 Aug 2019 15:27:38 +0800</pubDate><description><![CDATA[概述

Spring的最终目的是简化应用开发。通俗的讲减少重复代码，少写代码达到相同的目的。面向切面编程（AOP, Aspect Oriented Programming）就是一种减重复代码方式。我们都知道JAVA是一门面向对象编程（OOP, Object Oriented Programming）语言,在java中将一个个功能模块抽象成一个个对象。这些对象通过一定的联系完成我们所看到的一个个应用...]]></description><category></category></item><item><title><![CDATA[spring AOP中的@AfterThrowing处理异常与try...catch...的区别]]></title><link>https://blog.csdn.net/wqh0830/article/details/98957272</link><guid>https://blog.csdn.net/wqh0830/article/details/98957272</guid><author>wqh0830</author><pubDate>Fri, 09 Aug 2019 14:14:55 +0800</pubDate><description><![CDATA[spring AOP中的AfterThrowing增强处理可以对目标方法的异常进行处理，但这种处理与直接使用catch捕捉处理异常的方式不同，catch捕捉意味着能完全处理异常，即只要catch块本身不抛出新的异常，则被处理的异常不会往上级调用者进一步传播下去；但是如果使用了AfterThrowing增强处理用于对异常进行处理，处理后异常仍然会往上一级调用者传播，如果是在main中调用的目标方法，...]]></description><category></category></item><item><title><![CDATA[Eclipse集成Lombok]]></title><link>https://blog.csdn.net/wqh0830/article/details/98727414</link><guid>https://blog.csdn.net/wqh0830/article/details/98727414</guid><author>wqh0830</author><pubDate>Wed, 07 Aug 2019 10:01:50 +0800</pubDate><description><![CDATA[一。lombok简介

Lombok是一种Java™实用工具，可用来帮助开发人员消除Java的冗长代码，尤其是对于简单的Java对象（POJO）。它通过注释实现这一目的。通过在开发环境中实现Lombok，开发人员可以节省构建诸如hashCode()和equals()这样的方法。

二。安装lombok

1.首先下载Lombok.jar包，下载地址：http://projectlo...]]></description><category></category></item><item><title><![CDATA[Ajax向后台发送数组等复杂参数时的解决方案]]></title><link>https://blog.csdn.net/wqh0830/article/details/98313918</link><guid>https://blog.csdn.net/wqh0830/article/details/98313918</guid><author>wqh0830</author><pubDate>Sat, 03 Aug 2019 10:43:32 +0800</pubDate><description><![CDATA[前言：在很多时候，前台传递的参数是数组，这时不好拼接成字符串的键值对参数，那可以按照如下方式解决：

1、添加”traditional:true”参数和contentType: 'application/json;charset=UTF-8'

traditional:是否使用传统的方式浅层序列化。

contentType："application/json"：向后台发送数据的格式必须为json...]]></description><category></category></item><item><title><![CDATA[Spring加载Properties配置文件的几种方式]]></title><link>https://blog.csdn.net/wqh0830/article/details/97277159</link><guid>https://blog.csdn.net/wqh0830/article/details/97277159</guid><author>wqh0830</author><pubDate>Thu, 25 Jul 2019 17:38:06 +0800</pubDate><description><![CDATA[一：通过context:property-placeholder标签实现配置文件加载

在spring的配置文件中添加如下声明


&lt;context:property-placeholder ignore-unresolvable="true" location="classpath:jdbc.properties"/&gt;

引用值时，注意使用$引用需要的值
1.在datasource....]]></description><category></category></item></channel></rss>