SpringMVC Annotation Configuration
Configuring spring mvc with annotations
(1) configuration file for spring mvc
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="htt ...
Posted by pwes24 on Thu, 30 Jan 2020 17:43:35 -0800
cordova custom plugin
Preparation
Install cordova
npm install -g cordova
Create cordova project and add android platform
cordova create Project name Package name
cd Project name
cordova platform add android
Install plugman
npm install -g plugman
Create plugin
Create a plug-in (this blog demo plug-in name mytoast, package name com.digi ...
Posted by mikegzarejoyce on Thu, 30 Jan 2020 08:26:38 -0800
ActiveMQ -- mode (queue mode / topic mode)
Two modes: queue mode / topic mode
pom.xml
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-all</artifactId>
<version>5.15.9</version>
</dependency>
In fact, the queuing mode is the food sharing mode.
For example, if the manufacturer sends 10 ...
Posted by Ilyes on Thu, 30 Jan 2020 07:30:14 -0800
Maven modifies the default jdk13 version information to solve the problem of too low JDK version
The default jdk of Maven is version 1.5. It is too cumbersome to modify the jdk version again every time you create a new project, so the following methods can modify the default jdk version of Maven.
Note: it's better to update Maven's version. The setting.xml jdk13 configuration is invalid when I use ...
Posted by lynwell07 on Thu, 30 Jan 2020 06:56:20 -0800
Implement dataTable plug-in in SSM to realize paging
01 download resource file
The following three JS and CSS resource files are introduced into the project in the BootStrap front-end framework
<!-- DataTables -->
<script src="/static/assets/bower_components/datatables.net/js/jquery.dataTables.min.js"></script>
<script src="/stat ...
Posted by DaZZleD on Thu, 30 Jan 2020 06:43:38 -0800
Conversion of txt novel to mobi novel by using kindlegen (C + + implementation)
I always like to read novels on the kindle. The kindle doesn't hurt my eyes. It can also help control the time of playing mobile phones. But it's a headache to read the online novels in the format of txt on the kindle. Such novels have no catalogue on the kindle, and they are very long. So I always wanted to add a catalog. So there is this arti ...
Posted by Link on Thu, 30 Jan 2020 06:25:38 -0800
Java foundation - log usage
If log and exception handling are combined properly, it will bring great value to project maintenance.
Log: a detailed record of a process and experience.Project Log: it is the detailed record of the project development process, which is generally recorded by the project manager.Log in the code: the pro ...
Posted by Iron Bridge on Thu, 30 Jan 2020 01:37:40 -0800
Start and call of Spring Boot
[eye]
1. A way to start Spring BootService startup class
package com.npc.rest;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;
/**
* Frozen
* 2020-1-29
*/
/**
* Previously, users used three annotations to ...
Posted by blakey on Wed, 29 Jan 2020 07:39:19 -0800
Java Web advanced filter
Filter
Chapter 1 basic use of filter
1. Initial filter
Filter - filter:
Filter is a component of J2EE Servlet module
The function of Filter is to block URL s in a unified way
Filter is usually used for global processing at the application level
Three elements of filter development:
*Any filt ...
Posted by robot43298 on Wed, 29 Jan 2020 06:47:14 -0800
Springboot+Mybatis+lombok
Note: here are some records of learning, I am not doing software development. Like here, we need to integrate springboot+spring+mybatis. We are still learning.
1, lombok configuration
(1) Plug in download
lombok offline download address: https://plugins.jetbrains.com/plugin/6317-lombok/versions ...
Posted by adam291086 on Wed, 29 Jan 2020 06:31:20 -0800