原创 Nginx介紹及用法

1、nginx安裝 nginx官方下載地址:http://nginx.org/ 下載完後將壓縮包解壓即可,nginx配置文件爲根目錄下conf\nginx.conf 目錄結構如下圖: 2、nginx啓動 在nginx 下創建文件夾 lo

原创 Tomat報錯 The APR based Apache Tomcat Native library which allows optimal performance in production

異常信息: org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which al

原创 textarea標籤如何設置背景透明並且無邊框

css樣式中: textarea{       background:transparent;  //  背景透明       border-style:none;   // 邊框不顯示       text-indent:75px;

原创 創建Vue項目以及簡單的登錄功能

一、node.js環境的安裝我們之前都已經講過了 詳見:https://blog.csdn.net/spurs611/article/details/103404212 二、創建Vue項目 1、進入到指定的文件夾,用來放vue項目 2、

原创 Thymeleaf中th:include、th:replace、th:insert、th:fragment用法及區別

Thymeleaf中頁面佈局 首先,幾個標籤的定義 th:fragment 佈局標籤,定義一個代碼片段,方便其它地方引用 <div th:fragment="alert"> th:include 佈局標籤,替換內容到引入的文件 <head

原创 解決Parameter 'username' not found. Available parameters are [0, 1, param1, param2]

問題描述 2020-03-24 11:04:56.964 ERROR 11092 --- [nio-8092-exec-3] o.a.c.c.C.[.[.[.[dispatcherServlet]      : Servlet.serv

原创 解決 A problem occurred configuring project ':CordovaLib'.

錯誤描述: A problem occurred configuring project ':CordovaLib'. > The SDK directory 'D:\sdk\android-sdk_r24.4.1-windows\and

原创 Spring Boot 框架常用註解

一、項目配置註解 1、@SpringBootApplication 註解 查看源碼可發現,@SpringBootApplication是一個複合註解,包含了@SpringBootConfiguration,@EnableAutoConfi

原创 端口號被佔用,應該怎麼關閉?

在開發過程中,當某一個端口號被佔用時,我們應該怎麼關閉它。 步驟: 1、win+R按鍵,召喚出運行窗口,並在運行窗口的文本輸入框中輸入“cmd”命令,打開命令提示符。 2、輸入命令  netstat -aon|findstr "8080

原创 SpringBoot框架集成Thymeleaf:、以及使用Hikari方式訪問數據庫

SpringBoot框架集成Thymeleaf:、以及使用Hikari方式訪問數據庫 開發環境: MySQL:5.1.30 Maven:3.5.2 IDEA:2019.03  項目目錄: 添加依賴: 配置pom.xml文件, <

原创 SpringBoot 集成 MyBatis Generator 自動生成MyBatis的實體類等(mapper、dao、domain)的框架

SpringBoot 集成 MyBatis Generator 自動生成MyBatis的實體類等(mapper、dao、domain)的框架   MyBatis Generator的使用的4種方式: 1、命令行生成;2、Maven方式生成

原创 2020,新年flag

又是新的一年了,希望再接再厲吧! 1、堅持健身,對自己狠一點。 2、堅持讀書,計劃50本書。 3、長肉十斤。(20餘年的夢想) 4、get新技能。springboot  vue   springcloud  5、堅持寫博客。(至少每週一篇

原创 安裝vue.js以及創建第一個vue項目

安裝vue.js 第一步:下載node.js node.js官網下載地址:https://nodejs.org/en/        選擇推薦的或你想要的版本下載,下載完後,安裝路徑自定義,自行安裝。 我的安裝路徑是:F:\gongju

原创 jsp+servlet實現瀏覽器文件上傳和下載功能

文件上傳功能 jsp頁面 <form method="post" action="/ptzy/DailyFileServlet1" enctype="multipart/form-data" οnsubmit="return check

原创 Java中獲取節假日日期

話不多說,先上代碼 怎麼獲取節假日 /**      * 獲取節假日 並保存到數據庫中      * @return      */     public int getHoliday(){                  Holid