[gSOAP] gSOAP generates service proxy and Object C language code example

gSOAP is used to implement a simple server and proxy for four operations. Table of Contents Header file Write the header file calc.h Generate header file calc.h How to use wsdl2h Generate server and client (agent) programs How to use soapcpp2 Complete makefile Client & server code Serve ...

Posted by wangsc66 on Tue, 11 Feb 2020 06:21:00 -0800

Android-RecyclerView Multi-Layout Encapsulation

Encapsulation of multiple layouts, primarily addressed during developmentData Binding Interface, View Layout Return Interface, Data Binding: Provides a tag attribute in the holder class. Initializing the holder identifies the viewtype returned by the view layout so that switch(holder.gettag()) can de ...

Posted by Jbert2 on Mon, 10 Feb 2020 21:00:43 -0800

JAVAEE takes a closer look at JavaWeb 11 - JavaScript Advanced

Content: 1. JavaScript: 1. ECMAScript: 2. BOM: 3. DOM: 1. Event DOM Simple Learning: To meet case requirements *Function: Control the content of html documents *Get page label (element) object: Element * document.getElementById("id value"): Get the element object from the eleme ...

Posted by anybody99 on Mon, 10 Feb 2020 18:10:52 -0800

SSM integration Spring+SpringMVC+Mybatis

Chapter 1: building an integrated environment 1. Build an integrated environment Integration Description: there are many ways to integrate SSM. We will choose XML + annotation The idea of integration Build an integrated environment first First, set up the Spring configuration Using Spring to ...

Posted by Admiral S3 on Mon, 10 Feb 2020 07:44:49 -0800

tomcat multi instance jpress

Made by two couples 1. Basic environment preparation Step 1: download the installation package # wget -P /app/tools/ https://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-8/v8.5.50/bin/apache-tomcat-8.5.50.tar.gz # wget -P /app/tools/ http://47.111.238.157/jd ...

Posted by deejay on Mon, 10 Feb 2020 05:59:16 -0800

MyBatis delay load (lazy load) Introduction

MyBatis delayed loading Introduction In the previous article, multi table query is introduced. In practice, we often involve multi table joint query, but sometimes, not all query results will be used immediately. Let me give two examples: For example, to query the purchase details of a batch of notebook computers, instead of directly displayi ...

Posted by kkeim on Mon, 10 Feb 2020 02:50:54 -0800

PopupWindow bottom box effect

Previous rendering: When it is displayed, it will slide out from the bottom of the screen. When it disappears, it will slide out. The implementation method is PopWindow. Here is the code: First, define a PopupWindow class as follows: public class BottomPopupOption { //Context object private Context mContext; ...

Posted by hws on Sun, 09 Feb 2020 09:43:56 -0800

Install and configure Nginx under Windows, and set it to power on automatically

Installation and configuration of Nginx under Windows First, Download Process ellipsis Two, configuration First, enter the nginx installation directory (the same level of nginx.exe) and edit the conf/nginx.conf file gzip on; #Open gzip server_tokens off; ##Hide nginx version number server { listen 8888; ...

Posted by mkosmosports on Sun, 09 Feb 2020 06:47:16 -0800

Printing XML beautifully in Python

What is the best way (or ways) to print XML beautifully in Python? #1 building If you have xmllint, you can generate a subprocess and use it. Xmllint -- format < File > its input XML is beautifully printed to standard output. Note that this method uses a program external to python, which makes it a little hack. def pretty_print ...

Posted by Afser on Sat, 08 Feb 2020 07:55:22 -0800

Android RefreshLayout implements pull-up refresh drop-down loading and data De duplication list pages

Add the following dependencies to build.gradle of app in the project: //RefreshLayout implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0' implementation 'com.scwang.smartrefresh:SmartRefreshHeader:1.1.0' //glide is used to load pictures in item implementation 'com.github.bumptech.glide:gl ...

Posted by notaloser on Sat, 08 Feb 2020 06:16:24 -0800