Solve the problem of cross domain access of spring MVC web project
1. Cross origin cross domain annotation springboot has its own cross domain annotation, which can be placed on the RestController's class or method. It can also customize those domain names, which can be cross domain and very flexible @CrossOrigin / / by default @ CrossOrigin a ...
Posted by d.shankar on Sat, 25 Apr 2020 16:29:18 +0200
< center > mybatis reverse engineering < / center >
The purpose of reverse engineering is to reduce our development time. The so-called Mybatis reverse engineering is that Mybatis will automatically generate pojo, mapper and mapper.xml according to the data table we have designed.
The next step is the project construction proces ...
Posted by FastLaneHosting on Wed, 22 Apr 2020 18:14:12 +0200
Reference article: apache Impala detailed installation (lying in the most complete pit)
Apache impala detailed installation
impala is an efficient sql query tool provided by cloudera, which provides real-time query results. The official test performance is 10 to 100 times faster than hive, and its sql query is even faster than spark sql. imp ...
Posted by deth4uall on Tue, 21 Apr 2020 09:18:04 +0200
1, Source code description
Freecplus is a C/C + + open source framework under Linux system. Please go to the C language technology network (www.freecplus.net) to download the source code.
This paper introduces the parsing of string function in xml format with freecplus framework.
The declaration file for functions and classes is freecplus / 65 ...
Posted by jimbo2150 on Tue, 21 Apr 2020 04:15:29 +0200
Creation mode: Singleton mode, factory mode, builder mode, prototype mode
Structural type: bridge mode, agent mode, decorator mode, adapter mode, facade mode, combination mode, enjoyment mode
Behavioral: observer mode, template mode, strategy mode, responsibility chain mode, state mode, iterator mode, visitor mode
In our wor ...
Posted by samyl on Mon, 20 Apr 2020 18:58:08 +0200
Gin Web Framework
web framework developed based on httprouter: https://github.com/gin-gonic/gin
Provides Martini style API, but 40 times faster than Martini
Very lightweight, simple to use
Installation and use of Gin framework
Install: go get -u github.com/gin-gonic/gin
Posted by ericwright17 on Sun, 19 Apr 2020 16:23:46 +0200
For security reasons, you may need to protect the entire workbook or worksheet. Sometimes, you may even need to protect a worksheet, but keep the specified cells for editing. This article describes how to use free fire.xls for Java to implement these operations.
Add Spire.Xls.jar as a dependency
Method 1: Download Free Spire.XLS for Java Pack ...
Posted by Kodak07 on Thu, 16 Apr 2020 16:26:40 +0200
Performance test of 1/ Log4j2
It is not difficult to see from the figure that the performance is the best when the number of online processes is between 2 and 16, and synchronous and asynchronous logger s are used to print logs.
Classification output to different files
Automatically compress and archive lo ...
Posted by etrooper on Wed, 15 Apr 2020 20:14:49 +0200
Date and time
import time # Introduce time Modular
#Get current date time
#Get the specified date
#Date to string
#String to date
Posted by Black Rider on Wed, 15 Apr 2020 17:06:18 +0200
System: Window Server.
Installed JDK 1.8-u181 (JRE is enough, but I have the JDK installation package in hand, why not go down) and Tomcat 8.5.53.
Once installed, the environment variable is configured with JAVA_HOME, Path.JRE, no JDK.
To publish two war packages, MES and ERP.
2 Install Tomcat
I used the.exe file installation witho ...
Posted by mike97gt on Wed, 15 Apr 2020 04:05:01 +0200