Back-end spring boot+front-end Android interaction+mysql add-delete-delete-change

1. Overview Using spring boot as the back-end framework to interact with mysql on Android, including the most basic add-delete and change functions. 2. Development environment win10 IDEA tomcat9.0.27 mysql8.0.17 spring boot 3. Backend (1) Create a new spring boot project You can see here (2)Entity Create a new User class as an entity class: p ...

Posted by mooshuligan on Tue, 26 Nov 2019 22:14:26 +0100

Spring boot (11) - exception handling and custom error page

1. Abnormal source To handle an exception that occurs in a program, you first need to know where the exception comes from? 1. The front-end wrong request path will cause 4xx errors in the program, the most common is 404. By default, when this error occurs in the spring boot request path, the pc response page is as follows If it is mobile termi ...

Posted by scott_ttocs46 on Tue, 26 Nov 2019 08:39:14 +0100

Find the correct mobile number

Title: it is known that the mobile phone number is an 11 digit string composed of 0-9 and so on. Now, it is judged whether it is the correct mobile phone number according to the entered characters Requirements: 1. If the input string starts with any group of 151, 153, 173, 180, 193 and consists of just 11 digits, then the output is:% s is ok ...

Posted by jholzy on Sat, 23 Nov 2019 16:58:48 +0100

From python practice to introduction, self practice of exercises in Chapter 12 of alien project

Similar to the expansion of the first part of the alien project: At the beginning of self-study python, the alien project 12 chapters, completed a spacecraft can move left and right on the screen, and can fire. Because the following exercises are separate, in order to be simple, we just scrape them together and ignore some de ...

Posted by ferrit91 on Fri, 22 Nov 2019 20:49:56 +0100

Intent in Android is simple and practical (jump page)

1. Intent can jump to another page and carry corresponding data or not. Here are several common methods of intent 2. Including using Intent to explicitly start another Activity and implicitly start another Activity ① to explicitly start another Activity with Intent, you need to configure the Activity to jump in AndroidManifes ...

Posted by matjaz on Fri, 22 Nov 2019 16:55:41 +0100

Static registration and dynamic registration of JNI development

Alibaba P7 mobile Internet architect advanced video (in daily update) for free, please click: https://space.bilibili.com/474380680 Static registration Principle:According to the function name, the one-to-one correspondence between java method and JNI function is established; Implementation process: Write java code;Using javah instruction to gen ...

Posted by ace_lovegrove on Fri, 22 Nov 2019 10:30:21 +0100

Use wechat interface to customize shared webpage information (thumbnail, title, description)

Today, sharing a practical function is to share the content of the website to wechat friends circle with thumbnails. Ordinary netizens may not pay attention to it. By default, there is no thumbnail for direct sharing. How to achieve this function? Wechat development team has helped us develop the interface, and we can use it. First, we n ...

Posted by ATS16805 on Thu, 21 Nov 2019 21:56:29 +0100

How do I implement the applet to use custom annotations to get the current logged in user???

Business Scenarios In our program code, many interface calls are limited and need to be logged in to operate. This article mainly uses definition annotations to intercept login validation when calling an interface. Custom Notes /** * Use this comment on the Controller method parameter, which injects the current login object into the ...

Posted by webdevelope on Tue, 19 Nov 2019 21:41:38 +0100

Learn typescript in practice - implement full screen browser (100 lines)

Learning a new language, the fastest way is to look at the actual code! At the beginning of learning ts, everyone will ask "is there any practical project that can be referred to?" OK! To meet your needs, I plan to regularly use ts to do some common business plug-ins, and the code volume is as small as possible (controlled within 🦕 1 ...

Posted by MadDawgX on Tue, 19 Nov 2019 09:11:31 +0100

Picture Loading Frame Picture Loading Frame Selection Previous

Ali P7 Mobile Internet Architect Advanced Video (Updated Daily) Free Learning Click: https://space.bilibili.com/474380680This article will illustrate the selection of the picture loading framework through Universal-Image-Loader parsing: 1. [Introduction and use of Universal-Image-Loader parsing] Basic Introduction I believe that when you normal ...

Posted by scotte on Mon, 18 Nov 2019 03:35:07 +0100