Dynamic and Static Separation Configuration of Nginx

Dynamic and Static Separation of Nginx The reverse agent of nginx, I think you should understand that the front-end nginx agent back-end tomcat, but in dealing with static resources (related pictures, etc.) Tomcat is not dominant. So dynamic and static separation uses location matching of nginx to make the static resources process by themselve ...

Posted by invictive on Sun, 21 Jul 2019 11:10:51 +0200

java mail delivery

Java Mail Sending Principle of E-mail Sending We write to pen pals: Write a letter - > Put it in the mailbox - > pick it up at the local post office - > Pass it to the post office where the recipient is located - > Put the envelope in the mailbox of the recipient's family - > Pen pal ...

Posted by Kestrad on Fri, 19 Jul 2019 14:36:37 +0200

Spring MVC file upload

Spring MVC provides direct support for file upload through Plug and Play MultipartResolver. Spring uses Jakarta Commons File Upload technology to implement a MultipartResolver implementation class: Commons MultipartResolver. MultipartResolver is not assembled by default in the Spring MVC context, so file upload cannot be processed by default. ...

Posted by brij_theinvader on Sat, 13 Jul 2019 20:40:14 +0200

JavaEE Develops Spring MVC Project Using Maven Management

The previous blogs have talked about Spring in succession. Today we will talk about Spring MVC in our blog. Spring MVC currently occupies a place in Java EE development and is relatively easy to use. Low coupling, high cohesion, using some annotations and Java configuration classes can achieve good decoupling. Today we'll look at how to configu ...

Posted by trukfixer on Wed, 10 Jul 2019 20:41:35 +0200

DWZ forms submit and close the current page and refresh data

In the DWZ document, the refreshless form submission process for the DWZ framework Ajax is described as follows: 1. The ajax form is submitted to the server 2. The server returns a fixed format json structure 3. The js tuning function processes the json data accordingly Be careful: The default ajax form submission of the DWZ f ...

Posted by louis567 on Wed, 10 Jul 2019 02:49:53 +0200

JavaWeb Starter-level Project Reality--Article Publishing System (Section 4)

First, correct a minor mistake in the previous chapter, that is, in index.jsp, the banner section didn't have an end tag added, plus OK, which I found when I perfected the page. In addition, the jQuery introduced in index.jsp also needs to be replaced by the local one. <script src="${basePath}/static/js/jQuery.js"></script> Today ...

Posted by mwalsh on Fri, 05 Jul 2019 18:11:15 +0200

Struts 2+jquery+ajax Implements Transmitting List Data and Parsing

In the last blog, we mentioned how to use struts2+jquery+ajax to realize the transmission of ordinary json data. In practice, the front desk not only shows the value after logical processing. There are also query values from the database, such as hibernate database, which return a List's data structure after the query operation is completed, s ...

Posted by iluv8250 on Thu, 04 Jul 2019 22:51:55 +0200

IntelliJ IDEA Develops Web Application Program to Realize Data Addition, Deletion, Check and Change

This paper is divided into two parts: 1. Intellij Idea creates Web applications; 2. Develop a WEB application with additions, deletions and modifications and deploy it to the local server. Raw materials: Intellij IDE JDK Tomcat Mysql Navicat for MySQL Browser Develop related jar pa ...

Posted by aissa on Sun, 30 Jun 2019 01:30:15 +0200

Jumping mode of struts 2

There are four jump modes in struts 21. dispatcher. Request forwarding (default), only jumping to jsp page 2. redirect to jsp 3. redirectAction 4. chain forward to actionBefore that, let's talk about the concept of request forwarding and redirection. If you already know about Forwarding and redirection, you can skip it and look directly at t ...

Posted by mrausch on Sat, 29 Jun 2019 23:09:19 +0200

mysql extension function

Because of its small size, fast speed and low overall cost of ownership, especially with the characteristics of open source, many small and medium-sized websites choose mysql as the website database in order to reduce the overall cost of ownership. The solution of database system using mysql database management system and PHP scripting language ...

Posted by johany on Tue, 25 Jun 2019 00:05:41 +0200