Tag:java

  • Live software source development price gap as much as ten times

    Time:2019-10-23

    When many entrepreneurs want to find an outsourcing service provider to do the development of APP and small programs, they often meet the same development needs. Some of them report 50,000 yuan, some 150,000 yuan, some 5,000 yuan, and some hundreds of thousands of yuan. I don’t know why.Many clients who ask us to do […]

  • Talk about handlerMapping and handlerAdapter design ideas in Spring MVC

    Time:2019-10-23

    Start with the most important method doDispatch source in the Spring MVC core class DispatcherServlet protected void doDispatch(HttpServletRequest request, HttpServletResponse response) throws Exception { HttpServletRequest processedRequest = request; HandlerExecutionChain mappedHandler = null; boolean multipartRequestParsed = false; WebAsyncManager asyncManager = WebAsyncUtils.getAsyncManager(request); try { ModelAndView mv = null; Exception dispatchException = null; try { processedRequest = checkMultipart(request); […]

  • For SpringMVC learning

    Time:2019-10-23

    Learning web framework based on Spring combat One, the introduction Generally, before starting to learn a knowledge point, a small test project is built to help understand the problem. Therefore, I have built a basic simulation login platform, and input the password to jump to the page. Upload code on the yards cloud https://gitee.com/lingnancfy/… . […]

  • 7. Mid-term review

    Time:2019-10-23

    In the previous process, we created four projects: Service discovery We learned about using Eureka as a service discovery componentEureka Server,Eureka ClientThe use of. Eureka Server And rely on <dependency> <groupId>org.springframework.cloud</groupId> <!–<artifactId>spring-cloud-netflix-eureka-server</artifactId>–> <artifactId>spring-cloud-starter-eureka-server</artifactId> <version>1.2.7.RELEASE</version> </dependency> annotations @SpringBootApplication @EnableEurekaServer public class DiscoveryApplication { public static void main(String[] args) { SpringApplication.run(DiscoveryApplication.class, args); } } To change the […]

  • Super detailed log configuration of springboot (based on logback)

    Time:2019-10-23

    preface There are several logging frameworks under the Java web, such as: logback, log4j, log4j2 (slj4f is not a logging framework, it is equivalent to defining the specification, the implementation of this specification logging framework can be called with slj4f). The highest performance should be logback, and springboot defaults to logback as well, so this […]

  • Idea sets up the docker remote plug-in

    Time:2019-10-23

    Introduction to the Docker operates containers through commands, and the use of idea plug-in can reduce repeated command input. Using the step Install plug-ins in Idea Open theIdea,Preferences | Plugins Enter the plug-in installation interface, enter docker in the search box to see docker integration, click the Install button on the right to Install, and […]

  • The implementation of processing data after AJAX is submitted to Java background

    Time:2019-10-22

    Environment: Eclipse + struts Effect to achieve:Click the button to submit the data to the background and then return to the foreground to display the data. index.jsp <%@ page language=”java” contentType=”text/html; charset=UTF-8″ pageEncoding=”UTF-8″%> <!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”> <html> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″> <title>Insert title here</title> </head> <body> <input type=”text”> <input […]

  • Data structure and algorithm

    Time:2019-10-22

    Max subseqsum Time complexity: t (n) = O (N3) int MaxSubSeqSum(int arrays[],int length){ int i,j,k,thisSum=0,maxSum=0; for(i=0;i<length;i++){ for(j=i;j<length;j++){ thisSum=0; for(k=i;k<=j;k++){ thisSum+=arrays[k]; } if(thisSum>maxSum)maxSum=thisSum; }; } return maxSum; } Max subseqsum Time complexity: t (n) = O (N2) int MaxSubSeqSum(int arrays[],int length){ int i,j,thisSum=0,maxSum=0; For (I = 0; I < length; I + +) {// I is […]

  • React + Ajax + java to upload pictures and Preview

    Time:2019-10-21

    Before, I used to look for Ajax to upload pictures on the Internet. Most of the people wrote in jQuery, but here, jQuery is used for big things and small things. So I wrote it myself. First, the picture above. From the above figure, first click the above selection file. After selecting the picture, it […]

  • Jeecg boot tutorial required (novice)

    Time:2019-10-21

    Jeecg boot tutorial required (novice)Development environment building: http://jeecg-boot.mydoc.io/? T…Source download: https://github.com/zhangdaisc…Development tool: https://pan.baidu.com/s/1kfij… Extraction code: ilmc How to start a project: http://jeecg-boot.mydoc.io/? T… Jeecgboot learning video: https://pan.baidu.com/s/1il0t… Extraction code: hok5 Code generator use: http://jeecg-boot.mydoc.io/? T… FAQ:http://www.jeecg.org/forum.ph… Technical documents for development Ant Design of Vue | https://vue.ant.design/docs/vue/introduce-cn Vue | https://cn.vuejs.org/v2/guide Jeecg-Boot | http://jeecg-boot.mydoc.io Basic knowledge learning […]

  • The most complete set of Java teaching video network disk sharing in 500g history

    Time:2019-10-21

    500 g java video online disk sharing (jeecg open source community)[from Java to in-depth architecture, Linux, cloud computing, distributed, big data Hadoop, IOS, Android, Internet technologies are all available]   1. Video tutorial of the separation development framework of the front and back of jeecgboot (rapid development platform)    Source download: https://github.com/zhangdaisc…Video tutorial: http://www.jeecg.org/forum.ph… 2. JPA video […]

  • Design mode 9 — combination mode

    Time:2019-10-21

    Combination mode Composite pattern, also called partial overall pattern, is used to treat a group of similar objects as a single object. The combination pattern combines objects according to the tree structure to represent the part and the whole level. This type of design pattern belongs to structural pattern, which creates a tree structure of […]