java web bulk download
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;
Table:
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
Notes on cross domain access processing of springboot web project
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
Mybatis framework -- mybatis reverse engineering
< 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
apache Impala detailed installation
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
freecplus framework xml parsing
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
It's amazing that the implementation of Servlet Filter and Spring MVC Interceptor is so simple
Preface
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
introduce
In our wor ...
Posted by samyl on Mon, 20 Apr 2020 18:58:08 +0200
Go language Gin Web Framework
Gin Web Framework
brief introduction
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
Basic use
import "github.com/gin-gonic/gin"
func ...
Posted by ericwright17 on Sun, 19 Apr 2020 16:23:46 +0200
Java protects Excel workbooks and worksheets
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
Spring Boot integrates Log4j2 logs and pressure tests performance
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.
2/ target
Mixed sync/async
Color log
Classification output to different files
Automatically compress and archive lo ...
Posted by etrooper on Wed, 15 Apr 2020 20:14:49 +0200
11, Getting started with Python - Advanced
Advanced
Date and time
import datetime
import time # Introduce time Modular
import calendar
#Get current date time
now=datetime.datetime.now()
print(now)
#Get the specified date
d=datetime.datetime(2019,10,1,12,23,40)
print(d)
#Date to string
d2=d.strftime("%Y/%m/%d %H:%M:%S")
print(d2)
#String to date
s="2020-8-15 2:30:20"
d3=datetime.da ...
Posted by Black Rider on Wed, 15 Apr 2020 17:06:18 +0200