Mybatis integrated spring detailed course (suitable for beginners)
Catalog
1. Integration ideas
2. Integrate the required jar package
3. Steps of integration
4. Two implementation methods of Dao development
6. Summary of Dao's development
@
Mybatis integration of spring is actually the integration of SM in SSM framework.
1. Integration ideas
The id ...
Posted by shakuni on Thu, 12 Dec 2019 04:40:54 -0800
JAVA - parse JSON from the file and write it to the JSON file (details)
1.json introduction
json is less descriptive than XML, but its data volume is smaller and its transfer speed is faster
The writing format of json data is "Name: value pair", for example:
"Name" : "John" //name For name,The value pairs are"john"Character string
The value pair types are divided into:
Number (in ...
Posted by theycallmepj on Thu, 12 Dec 2019 02:50:55 -0800
Dev log | how to publish jar package to Maven central warehouse
abstract
The Maven central warehouse does not support direct upload of jar packages, so it is necessary to publish the jar packages to some designated third-party Maven warehouses, such as the Sonatype OSSRH warehouse, and then the warehouse synchronizes the jar packages to Maven. This paper records the whole publishing and synchronization pro ...
Posted by Shaun on Wed, 11 Dec 2019 22:50:51 -0800
Android Accessibility Service
When the service is not turned on, quickly jump to the interface to turn on the service.
if (!OpenAccessibilitySettingHelper.isAccessibilitySettingsOn(this,
AccessibilitySampleService.class.getName())){// Judge whether the service is on
OpenAccessibilitySettingHelper.jumpToSettingPage(this);// Jump to open p ...
Posted by thewabbit1 on Wed, 11 Dec 2019 12:11:26 -0800
Android easy to use dropdown control Spinner
First, reference
1,Details of android Spinner control
2,Details of the latest Spinner usage
Two. Example
1. Common spinner usage and data loading in string array. This UI is in MD style. In fact, there are different UI displays in different themes. You can also choose dropdown mode: dropdown or dialog, which is dropdown by defaul ...
Posted by acemods on Wed, 11 Dec 2019 11:49:02 -0800
Using httpinvoker to make methods between two systems call each other
Business scenario: there may be communication (method call) between two systems. In this case, httpinvoker can be used to implement a lightweight solution
It is divided into server and client. The client calls the interface provided by the server;
Client configuration:
<bean id="OpenApi4SoaService" class="cn.com.agree.open.mvc.service.imp ...
Posted by lordofgore on Wed, 11 Dec 2019 08:27:49 -0800
iOS GDataXML--DOM parsing XML
Use framework GDataXML-HTML Parsing XML
1). First import the framework file, and then Command+B compile
Figure 1.png
resolvent:
I. click project, and the following interface appears
Figure 2.png
Select Build Settings, enter Header Search Paths under Build Settings to search, as shown in the following figure, click Al ...
Posted by cfgcjm on Wed, 11 Dec 2019 08:11:38 -0800
Android 8.0 changes static registration to dynamic registration (custom standard broadcast)
Layout file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom=" ...
Posted by noodle on Wed, 11 Dec 2019 07:29:42 -0800
Java data structure and algorithm series -- stack
Catalog
1. Basic concept of stack2. Java simulation simple sequential stack implementation3. Enhanced function stack4. Using stack to realize string reverse order5. Use stack to judge whether separator matches 6, summary
1. Basic concept of stack
Stack is also called stack or stack. As a data structure, stack is a special linear table that can ...
Posted by mattdarnold on Wed, 11 Dec 2019 00:57:25 -0800
Struts 2 internationalization - Chinese English conversion
First, create two files under src to provide the resource files required by the program
(careless programmers should pay attention to the File name, which is in the form of key and value.) the specific code is as follows:
Next, write the code in index.jsp
<%@ page language="java" import="java.ut ...
Posted by riceje7 on Tue, 10 Dec 2019 21:41:20 -0800