JAVA export EXCEL table POI

Today, I will bring you a sample of how to use poi to export Excel for Java Web projects, which is suitable for novices in the first contact. There are two steps to export Excel: 1. Generate an excel and put it in the working directory; 2. Export it to the local. Please download the required jar package by yourself, as ...

Posted on Sun, 03 May 2020 00:14:34 -0700 by abhic

Spring boot (10): spring boot uses FastJson

Alibaba FastJson is a Json processing toolkit, including "serialization" and "deserialization". It has the following features: The fastest, tests show that fastjson has extremely fast performance, surpassing any other Java Json parser. Including Jack Johnson, who cl ...

Posted on Sat, 02 May 2020 17:19:11 -0700 by Twysted

Using Node to operate MongoDB

1. Use MongoDB module for operation First, install the mongodb module in the working directory, 1 cnpm i mongodb//Lead in module const MongoClient = require('mongodb').MongoClient; //Write connection string,My database address is as follows,So when you're writing, just change the address const DB_CONN_STR= 'mongodb://127.0.0.1/demo'; //Remem ...

Posted on Sat, 02 May 2020 15:31:39 -0700 by daimoore

django processing dynamic publishing of multiple image URLs

The back end is django There is a way to handle a set of picture URLs. A dynamic is not with many pictures. If the database uses urlfield, only one url can be saved. So I save a set of URLs as a js array, and then pass them in with json, and save them in charfile. When reading them, I need to do a processing. With a us ...

Posted on Sat, 02 May 2020 10:27:26 -0700 by jkeppens

Using jstree some tree nodes do not display

When using jstree to build a system menu button tree, you want to present the following effect: Results after the first level node is opened, the child nodes are not displayed. Click once, all the nodes are gone, and there are no errors on the page and background. It's really weird. Because it is the background string json string to the for ...

Posted on Sat, 02 May 2020 07:24:28 -0700 by fean0r

java explanation -- JOSN analysis

JSON syntax 1. Function: JSON text is a medium similar to XML text file used to store and transfer data information Note: like XML, json can be used not only as a data carrier through response files, but also as a corresponding data carrier through strings satisfying syntax, which is called "json string" 2. Data storage in JSON ad ...

Posted on Fri, 01 May 2020 22:48:33 -0700 by blkraven

Wechat applet recharging and processing after recharging callback

WeChat Applet The recharge process is roughly the same as H5 or official account. Here is a brief introduction to some operation processes of the front end when recharging. When a user initiates a recharge request in an applet, he usually requests his own server first, sends the recharge parameters to the back-end, and then the back-end reque ...

Posted on Fri, 01 May 2020 22:03:16 -0700 by paulbrown83

Wechat applet (Express query)

Reading this blog requires a preliminary understanding of wechat applet Point me Make a preliminary understanding design sketch Let's start The first step is to view the directory structure, initially establish each folder, and register the page in app.json without registration, which cannot be displayed We only use the images folder, ...

Posted on Fri, 01 May 2020 21:18:09 -0700 by psych0

Gin go learning note 3: JS paging of gin Web Framework

JS paging 1> JS paging, business logic (1) Paging uses a jQuery plug-in called jquery.pagination.js (2) The support of jquery is required. jquery-2.1.1.min.js is used in this project (3) The parameters required for paging are: total number of records, number of displays per page, and page number (4) Add search criteria to use as a query 2&gt ...

Posted on Fri, 01 May 2020 21:04:02 -0700 by saurabhdutta

Docker binding Remote API port

Docker officially provides two different SDKs and HTTP API s: Go and python. I'm not familiar with the Go language. I tried the python SDK. Docker's official Python SDK is for version 2.x, which is tested directly on Python 2.7.5 of CentOS, but there are errors: # python Python 2.7.5 (default, Aug 4 2017, 00:39:18) [GCC 4.8.5 20150623 (Re ...

Posted on Fri, 01 May 2020 15:27:32 -0700 by fdost