SSM simple integration

When I first learned SSM integration, to be honest, I was dizzy. I couldn't remember so many complicated configurations at all. So what's the best way? So there will be the following article recording the integration process. What should be remembered is the core of the three frameworks. According to th ...

Posted on Wed, 12 Feb 2020 00:03:53 -0800 by chadrt

Keep / save / restore scroll position when returning to ListView

I have a long ListView where users can scroll before returning to the previous screen. When the user opens this ListView again, I want the list to scroll to the same location as before. Any ideas on how to achieve this? #1 building Warning!! If ListView.getFirstVisiblePosition() is 0, there is an error in the AbsListView that does not al ...

Posted on Tue, 11 Feb 2020 04:02:24 -0800 by ragtek

The android component GridView is simple to use

GridView is basically the same as ListView, except for layout.When we turn on the phone, the app is displayed in a grid called GridView.( As code shows, the adapter uses SimpleAdapter, familiarizes itself with the use of the adapter, and only needs to be aware of a few properties of the GridView. Activity class public cla ...

Posted on Mon, 10 Feb 2020 08:10:30 -0800 by volomike

Mybatis plus learning notes: code generator

AutoGenerator is the code generator of mybatis plus. Through AutoGenerator, you can quickly generate the code of Entity, Mapper, Mapper XML, Service, Controller and other modules. Project structure: Before generation: After generation: pom.xml: <dependencies> <dependency> <groupId>org.springframework.boot& ...

Posted on Mon, 10 Feb 2020 07:49:40 -0800 by Mahfouz

Summary of factory test application

After yesterday's tiger operation, the demand of the factory finally came to an end, and the new knowledge was summed up If you want to preset two apk s in the launcher, you need to modify the configuration file of the launcher Configure packages / apps / launcher3 / RES / XML / default workspace / 4x4.xml as follows < ...

Posted on Sun, 09 Feb 2020 09:33:31 -0800 by Ramtree

Java realizes WeChat (main and subsidiary business mode) and Alipay payment.

1, Business requirements To achieve APP WeChat and Alipay payment, the back end needs to generate advance payment and respond to payment results; WeChat merchants adopt sub business mode. 2, Refer to official documents Wechat ordinary merchant: https://pay.weixin.qq.com/wiki/doc/api/app/app.php?ch ...

Posted on Sun, 09 Feb 2020 06:35:22 -0800 by Kodak07

Ultra pull to refresh super simple implementation of custom animation (2)

Preface Next to a blog, Ultra pull to refresh super simple ultimate implementation pull-down refresh, pull-up load entry implementation (1) The last one is to realize the simple function of refreshing and loading. But such simple animation often can't meet our needs, so we can use an example of JD refresh to realize customiz ...

Posted on Sat, 08 Feb 2020 09:26:43 -0800 by dross613

Common methods of JdbcTemplate

JdbcTemplate is the core class of Spring JDBC and provides a method to easily add, delete, and inspect data.Several common methods of this class are described in an example below. This blog use case: 1. Create a Java or web project to import the jar packages for spring, the jar packages for database c ...

Posted on Thu, 06 Feb 2020 21:35:44 -0800 by ruraldev

Servlet: listener and filter

Article directory 1. Listener 2. filter 1. Listener Concept: one of the three major components of the web. There are three parts of event monitoring mechanism:Event: one thingEvent source: where the event occurredListener: an object *Register listening: binding events, event sources and listene ...

Posted on Thu, 06 Feb 2020 01:05:14 -0800 by passagewds

Activiti6.0 learning practice core API: repository service storage service

Through the previous study, we learned that activiti obtained the ProcessEnigneConfiguration object through activiti.cfg.xml, which is responsible for managing the configuration related information of the process engine. Through this configuration management object, we can create the ProcessEnigne pr ...

Posted on Wed, 05 Feb 2020 03:24:25 -0800 by nocniagenti