<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[LM]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/TheBestAge</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; TheBestAge]]></copyright><item><title><![CDATA[【HttpServlet】get获取请求信息]]></title><link>https://blog.youkuaiyun.com/TheBestAge/article/details/90677989</link><guid>https://blog.youkuaiyun.com/TheBestAge/article/details/90677989</guid><author>TheBestAge</author><pubDate>Wed, 31 Jul 2019 08:20:10 +0800</pubDate><description><![CDATA[Http协议定义了与服务器交互的方式，分别是get,post,delete
使用HttpServlet，在后端接受请求头，请求信息
一、获取请求头
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    ...]]></description><category></category></item><item><title><![CDATA[【ServletContext】存取数据]]></title><link>https://blog.youkuaiyun.com/TheBestAge/article/details/90666222</link><guid>https://blog.youkuaiyun.com/TheBestAge/article/details/90666222</guid><author>TheBestAge</author><pubDate>Wed, 29 May 2019 10:24:18 +0800</pubDate><description><![CDATA[使用ServletContext来实现存取数据的功能
设计登录页面，成功后跳转，失败则提示
建立登录页面login.html
&lt;!DOCTYPE html&gt;
&lt;html lang="en"&gt;
&lt;head&gt;
    &lt;meta charset="UTF-8"&gt;
    &lt;title&gt;Title&lt;/title&gt;
&lt;/head...]]></description><category></category></item><item><title><![CDATA[【ServletContext】获取全局配置参数]]></title><link>https://blog.youkuaiyun.com/TheBestAge/article/details/90415928</link><guid>https://blog.youkuaiyun.com/TheBestAge/article/details/90415928</guid><author>TheBestAge</author><pubDate>Wed, 29 May 2019 09:59:05 +0800</pubDate><description><![CDATA[ServletContext可以看做是servlet上下文，每个web工程都只有一个ServletContext对象，不管在哪个servlet里面，获取到的类的对象都是同一个。
具体使用方法及作用：
1.用来获取全局配置参数
web.xml
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;web-app xmlns="http://xmlns.jc...]]></description><category></category></item><item><title><![CDATA[【Java】Error running 'XXX.html':Address localhost:8080 already in use]]></title><link>https://blog.youkuaiyun.com/TheBestAge/article/details/90647649</link><guid>https://blog.youkuaiyun.com/TheBestAge/article/details/90647649</guid><author>TheBestAge</author><pubDate>Wed, 29 May 2019 09:57:05 +0800</pubDate><description><![CDATA[使用idea运行后端程序时报错Error running ‘XXX.html’:Address localhost:8080 already in use
原因在于端口被占用，两种方法解决
一、杀掉占用进程
查询使用端口程序
cmd
netstat -aon|findstr 8080


taskkill -f -pid 8656

已终止PID为8656的进程


一般情况下，可以杀死进程，但可...]]></description><category></category></item><item><title><![CDATA[for循环内执行ajax出现异步加载问题]]></title><link>https://blog.youkuaiyun.com/TheBestAge/article/details/90379918</link><guid>https://blog.youkuaiyun.com/TheBestAge/article/details/90379918</guid><author>TheBestAge</author><pubDate>Mon, 20 May 2019 18:20:54 +0800</pubDate><description><![CDATA[文章装载自：前端JS中，for循环里面执行ajax，ajax访问不到变量以及每次循环获取不到数据问题解决
我要实现的功能是打印一个审批表，审批表的表头是一样的，但是下面会有至少一个审批人记录
先个大家看一下示例代码
for(var i = 1;i &lt; jsons.length;i++){
	var name = jsons[i].approvalPeople;
	var approvalOp...]]></description><category></category></item><item><title><![CDATA[java解析XML]]></title><link>https://blog.youkuaiyun.com/TheBestAge/article/details/90377342</link><guid>https://blog.youkuaiyun.com/TheBestAge/article/details/90377342</guid><author>TheBestAge</author><pubDate>Mon, 20 May 2019 17:14:23 +0800</pubDate><description><![CDATA[使用dom4j解析xml
一、下载dom4j.jar包，下载地址：https://dom4j.github.io/
向新建的项目中导入该jar包
二、使用dom4j解析xml
新建demo.xml文件
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;stus&gt;
    &lt;stu&gt;
        &lt;name&gt;张三&lt...]]></description><category></category></item><item><title><![CDATA[servlet是什么？]]></title><link>https://blog.youkuaiyun.com/TheBestAge/article/details/90346577</link><guid>https://blog.youkuaiyun.com/TheBestAge/article/details/90346577</guid><author>TheBestAge</author><pubDate>Sun, 19 May 2019 21:02:29 +0800</pubDate><description><![CDATA[  Servlet是什么，通常都是这样来说明的，它主要充当客户请求（web浏览器或其他HTTP客户程序）与服务器响应（HTTP服务器上的数据库或应用程序）的中间层。
tomcat可以看做是servlet的容器。
  客户端发送请求给web服务器，web服务器启动并调用servlet,servlet容器负责解析数据包，将解析后的数据交给servlet处理。
Servlet主要功能：
1.创建并放回一...]]></description><category></category></item><item><title><![CDATA[ng不是内部或外部命令]]></title><link>https://blog.youkuaiyun.com/TheBestAge/article/details/90256995</link><guid>https://blog.youkuaiyun.com/TheBestAge/article/details/90256995</guid><author>TheBestAge</author><pubDate>Thu, 16 May 2019 09:38:28 +0800</pubDate><description><![CDATA[Angular运行时报错：ng 不是内部或外部命令
一、运行命令ng -v时报错，添加环境变量
此电脑-属性-高级系统设置-环境变量-Path
添加：node_global

二、运行命令ng -serve时报错，添加环境变量
此电脑-属性-高级系统设置-环境变量-Path
添加：node-cache


...]]></description><category></category></item><item><title><![CDATA[web project项目中没有web.xml文件]]></title><link>https://blog.youkuaiyun.com/TheBestAge/article/details/89814281</link><guid>https://blog.youkuaiyun.com/TheBestAge/article/details/89814281</guid><author>TheBestAge</author><pubDate>Tue, 07 May 2019 08:18:00 +0800</pubDate><description><![CDATA[使用my elicpse创建web object项目时没有web.xml配置文件，原因在于创建项目过程：
正确的创建过程：
1.new - web project -next

2.选择next
3.将Generate web.xml deployment descriptor前勾上——finish即可


...]]></description><category></category></item><item><title><![CDATA[JDBC连接mysql]]></title><link>https://blog.youkuaiyun.com/TheBestAge/article/details/89839353</link><guid>https://blog.youkuaiyun.com/TheBestAge/article/details/89839353</guid><author>TheBestAge</author><pubDate>Sun, 05 May 2019 09:30:11 +0800</pubDate><description><![CDATA[ java database connectivity：java的数据库连接，是一种数据库访问接口规范。由于数据库的种类较多，所以只需要数据库库的提供商实现底层的访问规则。
具体操作步骤：
1.使用myeclipse新建java project项目
2.在项目中新建lib文件夹，并将Mysql-connector-java驱动包已下载的压缩包解压，将其中的jar包复制粘贴进src文件夹下。

3...]]></description><category></category></item><item><title><![CDATA[下载Mysql-connector-java驱动包]]></title><link>https://blog.youkuaiyun.com/TheBestAge/article/details/89817040</link><guid>https://blog.youkuaiyun.com/TheBestAge/article/details/89817040</guid><author>TheBestAge</author><pubDate>Sun, 05 May 2019 08:54:58 +0800</pubDate><description><![CDATA[下载地址：https://dev.mysql.com/
点击dowmloads——community——mysql connectors,在页面寻找connector/j点击进入

windows系统下选择.zip格式，linux可选择tar.gz

选择不登录下载:


...]]></description><category></category></item><item><title><![CDATA[【ionic4】上拉加载功能]]></title><link>https://blog.youkuaiyun.com/TheBestAge/article/details/89713081</link><guid>https://blog.youkuaiyun.com/TheBestAge/article/details/89713081</guid><author>TheBestAge</author><pubDate>Tue, 30 Apr 2019 17:09:23 +0800</pubDate><description><![CDATA[使用ionic封装组件来实现页面的上拉加载功能,带有假分页思想的上拉加载，可根据实际情况修改。
一、 .html代码：
       &lt;!-- 上拉加载 --&gt;
        &lt;ion-infinite-scroll threshold="20px" (ionInfinite)="loadincome(infiniteScroll)" *ngIf="Isloadincome"&...]]></description><category></category></item><item><title><![CDATA[【ionic4】二维码功能]]></title><link>https://blog.youkuaiyun.com/TheBestAge/article/details/89513137</link><guid>https://blog.youkuaiyun.com/TheBestAge/article/details/89513137</guid><author>TheBestAge</author><pubDate>Thu, 25 Apr 2019 14:23:22 +0800</pubDate><description><![CDATA[使用qrcanvas(支持中文）
1.安装依赖
npm i qrcanvas --save

2.新建页面：
ionic g page mealcode

3.引入模块(module.ts)
在这里插入代码片


]]></description><category></category></item><item><title><![CDATA[【ionic】数据交互-post请求]]></title><link>https://blog.youkuaiyun.com/TheBestAge/article/details/89496718</link><guid>https://blog.youkuaiyun.com/TheBestAge/article/details/89496718</guid><author>TheBestAge</author><pubDate>Wed, 24 Apr 2019 16:30:11 +0800</pubDate><description><![CDATA[前言：
  基于【ionic】数据交互-get请求此文配置的内容上，进行以下操作.
1.在需要post请求的页面引入：
import { HttpHeaders,HttpClient } from '@angular/common/http';

2.在构造函数中引入：
public http:HttpClient

3.具体方法：
  AddConsumeLog(){
    const htt...]]></description><category></category></item><item><title><![CDATA[【ionic】数据交互-get请求]]></title><link>https://blog.youkuaiyun.com/TheBestAge/article/details/89494386</link><guid>https://blog.youkuaiyun.com/TheBestAge/article/details/89494386</guid><author>TheBestAge</author><pubDate>Wed, 24 Apr 2019 15:28:15 +0800</pubDate><description><![CDATA[使用HttpClientModule模块使get请求与服务器进行交互
1.在app.module.ts中引入HttpClientModule
//引入http相关模块
import { HttpClientModule } from '@angular/common/http';

imports: [BrowserModule,
		  IonicModule.forRoot(), 
 		  ...]]></description><category></category></item><item><title><![CDATA[【Vue】axios的使用]]></title><link>https://blog.youkuaiyun.com/TheBestAge/article/details/89301096</link><guid>https://blog.youkuaiyun.com/TheBestAge/article/details/89301096</guid><author>TheBestAge</author><pubDate>Fri, 19 Apr 2019 21:31:16 +0800</pubDate><description><![CDATA[axios的安装和使用
安装：npm install axios

1.在main.js中引入axios
import axios from 'axios'
import qs from 'qs'

Vue.prototype.$axios = axios    //全局注册，使用方法为:this.$axios
Vue.prototype.qs = qs           //全局注册，使用方法...]]></description><category></category></item><item><title><![CDATA[【ionic】ionic安装及环境配置]]></title><link>https://blog.youkuaiyun.com/TheBestAge/article/details/89342672</link><guid>https://blog.youkuaiyun.com/TheBestAge/article/details/89342672</guid><author>TheBestAge</author><pubDate>Thu, 18 Apr 2019 18:52:34 +0800</pubDate><description><![CDATA[一、安装nodejs
二、安装npm
npm install -g cordova ionic

一般安装会失败，先安装：
npm install -g cnpm --registry=https://registry.npm.taobao.org

cnpm install -g cordova ionic

三、安装python
四、检查版本号，确认安装成功
ionic -v
cordova...]]></description><category></category></item><item><title><![CDATA[安装Android SDK -- Stopping ADB server failed (code -1).]]></title><link>https://blog.youkuaiyun.com/TheBestAge/article/details/89383959</link><guid>https://blog.youkuaiyun.com/TheBestAge/article/details/89383959</guid><author>TheBestAge</author><pubDate>Thu, 18 Apr 2019 17:35:16 +0800</pubDate><description><![CDATA[安装Android SDK 的过程中报错Stopping ADB server failed (code -1).
解决方法：配置Path环境变量
此电脑-右击属性-高级系统设置-环境变量-找到path,编辑，添加tools,platform-tools的安装地址，如下图所示：
        
设置之后，打开命令窗口，输入adb运行即可


...]]></description><category></category></item><item><title><![CDATA[【Vue】slot插槽使用]]></title><link>https://blog.youkuaiyun.com/TheBestAge/article/details/89302305</link><guid>https://blog.youkuaiyun.com/TheBestAge/article/details/89302305</guid><author>TheBestAge</author><pubDate>Sun, 14 Apr 2019 21:27:06 +0800</pubDate><description><![CDATA[ 在使用iview提供的组件库中，会使用到slot插槽。slot相当于是一个占位的东西，在插槽里可以放置任何内容。
 slot最简单的使用方式就是在我们的子组件内使用特殊的slot元素为这个子组件开启一个slot，在父组件的模板中，插入这个子组件标签内的所有内容都将代替子组件的slot标签以及它的内容
一、简单使用：
在新建项目中，建立一个组件，并在HelloWord中使用该组件
HelloWor...]]></description><category></category></item><item><title><![CDATA[【Vue】 安装Vuex，报错Error: EPERM: operation not permitted, rename]]></title><link>https://blog.youkuaiyun.com/TheBestAge/article/details/89074241</link><guid>https://blog.youkuaiyun.com/TheBestAge/article/details/89074241</guid><author>TheBestAge</author><pubDate>Sun, 07 Apr 2019 20:09:47 +0800</pubDate><description><![CDATA[Vue中安装vuex，出现错误如下：
npm ERR! path F:\fristvue\node_modules\vue-loader
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall rename
npm ERR! Error: EPERM: operation not permitted, rename 'F:\fristvu...]]></description><category></category></item></channel></rss>