Mavenx learn to find the right way, get started quickly!

1,Maven Why should I learn this technology? In Java Web development, we need to use a large number of jar packages. We need to import them manually; How to make a thing automatically help me import and configure this jar package. So Maven was born! 1.1 Maven project architecture management tool At present, it is convenient for us to impor ...

Posted by PupChow on Tue, 21 Apr 2020 04:49:17 -0700

Four common running modes in php

This article introduces four common ways of running php: CGI, FastCGI, Apache 2 handler and CLI. There is a certain reference value, friends in need can refer to it, hope to help you. There are four common running modes of PHP: CGI, FastCGI, Apache 2 handler and CLI. 1,CGI CGI is the common gateway interface, which is a program. Generally speak ...

Posted by ElectricRain on Mon, 20 Apr 2020 23:57:19 -0700

Shell notes: if and case condition judgment

1, if statement Single branch if statement Syntax (spaces at the beginning and end of brackets cannot be omitted): if [conditional judgment]; then program fi #Or if [conditional judgment] then program fi   Example: #!/bin/bash #If the usage rate of the root partition reaches 80, a warning will be issued and a prompt messag ...

Posted by steviemac on Mon, 20 Apr 2020 08:23:46 -0700

[java framework] Struts2 -- result view and parameter receiving of struts2

1. Results view of struts 2 Each atcion of Struts2 can have different result return methods. There are 11 ways to return the result type attribute in result. The main and most commonly used jump modes are redirect, redirectAction and pather. The type of the specific jump method can be found in struts-default.xml, as follows: <package name=" ...

Posted by budz on Sat, 18 Apr 2020 02:10:09 -0700

HBase operation: Spark read HBase snapshot demo share

**Before * * I shared with you a small demo of Spark reading HBase directly through the interface: HBase-Spark-Read-Demo However, if the amount of data is very large, Spark's direct scanning of HBase table will inevitably cause a lot of pressure on HBase cluster. Based on this, today I'd like to share with you the way spark directly reads HBas ...

Posted by vapokerpro on Fri, 17 Apr 2020 08:28:05 -0700

maven creates multi modular projects

1. Project scaffold reference https://www.cnblogs.com/fishyy/p/10313566.html 2. Add spring MVC dependency in parent pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http: ...

Posted by Rongisnom on Fri, 17 Apr 2020 07:49:14 -0700

centos 7 builds svn+apache server and discusses the difference between SVNParentPath and SVNPath

1. Preface Today, the leader asked to set up a set of svn servers to store some documents, which was supposed to be a very simple thing, but the process was not so smooth, mainly because he did not understand the problems caused by SVNParentPath and SVNPath, and only after finding the documents and debugging, did he find out their use and diff ...

Posted by zaki on Fri, 17 Apr 2020 03:24:14 -0700

Android HTTP mode request network

There are many ways to use Http to access the network, but the most common way is POST and GET. The project is just useful, so I wrote a tool class for later use. Generate a construction parameter with handler in HttpUtil class. The reason to generate a construction parameter with handler is that after Android 4.0, whe ...

Posted by devassocx on Thu, 16 Apr 2020 09:04:45 -0700

Develop wechat applet from scratch (4): after wechat applet binds system account and authorizes login

1. Background development environment: Language: java Framework: springboot 2. Code example: package com.zc.wechat.web; import com.zc.common.api.util.Result; import com.zc.wechat.model.Token; import com.zc.wechat.model.app.Jscode2sessionResult; import com.zc.wechat.service.WechatAppService; import com.zc.wechat.service.WechatServerService; ...

Posted by chetanrakesh on Wed, 15 Apr 2020 10:46:26 -0700

mvn configuration, startup script, and common problems encountered

Introduce mvn configuration, startup script, and common problems encountered Both methods can be carried out under subprojects 1 package into a jar Using Maven shade plugin will put the configuration files together. If you need to change the configuration file, it is inconvenient. It is suitable for dynamic reading zk of the configuration fi ...

Posted by chauffeur on Wed, 15 Apr 2020 09:24:29 -0700