Add the bean s needed to upload files in pomxml
Adding information such as file size file encoding to dispatcher servlet XML
Background upload process
FileService source code display
FTPUtil source code display
In a project, file upload is often needed. The following process is the file upload step I used in ...
Posted by doood on Fri, 01 May 2020 01:38:15 +0200
android sets button style (border color, fillet) and picture style (fillet)
Set button border color:
Create a new button? Edge.xml file in drawable
<?xml version="1.0" encoding="UTF-8"?>
<!-- Border color value --><item>
Posted by FrozNic on Thu, 30 Apr 2020 21:02:04 +0200
java batch download, package multiple files into zip format to download
What we need now:
Download the pic package under the product family and product type according to the product family and product type;
pic package is a zip file;
These packages exist in another table as blob s:
T? Imagefile table:
Now what we need to do is ...
Posted by wemustdesign on Thu, 30 Apr 2020 16:08:10 +0200
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