How Mybatis works

Objectives of this paper: Using the pure Mybatis framework to obtain data; Clarify the working process of Mybatis. Create project and run First, create maven project, and the process will not be repeated. The dependence is as follows: <dependencies> <dependency> <groupId>org.mybatis</groupId> <artifa ...

Posted by samsolomonraj on Sat, 07 Dec 2019 18:48:51 -0800

Java Web Learning - filters and listeners

Filter The basic knowledge is introduced in detail in the rookie course Rookie tutorial filter   <!--Prepare the first filter--> <filter> <filter-name>Filter1</filter-name> <filter-class>com.servlet.filter.Filter1</filter-class> </filter> <filter-mapping> <fil ...

Posted by snorky on Sat, 07 Dec 2019 13:56:58 -0800

[Xuefeng magnetic needle stone blog] python 3.7 quick start tutorial 7 Internet

Contents of this tutorial 7 Internet Internet access urllib urllib is a Python module for opening URL s. import urllib.request # open a connection to a URL using urllib webUrl = urllib.request.urlopen('https://china-testing.github.io/address.html') #get the result code and print it print ("result code: " + str(webUrl.getcode())) # read the d ...

Posted by esport on Sat, 07 Dec 2019 09:41:08 -0800

Tomcat8 restricts specified domain name or IP access

Environmental Science:  Tomcat8.0.53Objectives:Set to use the specified domain name or IP access 1. SET domain name access 1.1 open the server.xml file of the conf directory under Tomcat and find the following information Modify Engineengine specifies the default host name to process the request, which is at least the same as the name at ...

Posted by weemee500 on Fri, 06 Dec 2019 20:26:20 -0800

JSON of serialization and deserialization

To transfer objects between different programming languages, you need to serialize them into a standard format, such as XML But a better way is to serialize it into JSON, because JSON represents a string that can be read by all languages, stored on disk or transmitted over the network easily JSON is not only standard format, but also faster tha ...

Posted by marty_arl on Fri, 06 Dec 2019 15:27:24 -0800

Demonstration of using JsBridge

In the development of Android projects, if we need to call the functions in web in Android programs, we can use Jsbridge as a bridge for communication invocation. github code Express Sample demonstration: Jsbridge mutual call demonstration Jsbridge library introduction: implementation 'com.github.lzyzsd:jsbridge:1.0.4' One s ...

Posted by ldomingues on Fri, 06 Dec 2019 13:44:43 -0800

Learning and recording microservices (a brief introduction to spring cloud, Eureka introduction case)

1. Initialize Spring Cloud 1.1 what is microservice Microservice is an architectural style that divides a single application into small service units 1.2 what is Spring Cloud Spring Cloud is a collection of frameworks Using the development convenience of Spring Boot, the development of distributed system is simplified 1.3 common modules of ...

Posted by jklanka on Fri, 06 Dec 2019 04:00:22 -0800

Preview of camera+TextureSurface at the beginning of live video

Today, I'll talk about using camera interface and TextureSurface to preview First look at xml: <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com ...

Posted by driverdave on Fri, 06 Dec 2019 03:19:57 -0800

You know the six most common layouts for Android development?

There is a good analogy on the Web: Layout is like a frame in a building. Components are arranged in order according to the layout requirements, which makes up a beautiful interface for viewing. Layout type 1. LinearLayout (Linear Layout) A linear layout arranges the child elements (which can be controls or layouts) in a horizontal or vertical ...

Posted by JoCitizen on Thu, 05 Dec 2019 20:27:22 -0800

Loading basic data of odoo

Loading basic data of odoo There are two ways to load the basic data of odoo, one is to demonstrate the data loading, the other is to load the default data. The following is a detailed introduction First, of course, create a date Folder Project directory, right click to customize a folder XML data definition format <record id="building_t ...

Posted by spectacell on Thu, 05 Dec 2019 20:19:46 -0800