10. Simple parameter binding for SpringMVC annotation development

Spring parameter binding process In SpringMVC, key/value data is requested from the client and bound to the parameter of the controller method through parameter binding.Instead of defining member variable reception in the controller class. Default supported types Objects of the lower type can be used by defining them directly on the controller ...

Added by MysticFallout on Tue, 12 Nov 2019 04:52:25 +0200

Process editor based on canvas

This year due to the project needs to upgrade the customer's process management system, which includes process visualization.So after investigating the tools like D3,js, GooFlow.js, G6-Editor and so on, we found that D3,js learning cost is too high, G6-Editor function is basically enough, but it is hard to zoom in and out graphics and move conn ...

Added by gammaster on Sun, 10 Nov 2019 18:49:39 +0200

The box map of threejs -- six faces in one picture

Cube map can be 6 independent pictures. In order to reduce HTTP request, 6 pictures can be combined to make a picture. The principle is to cut and display the pictures on canvas in order on the canvas created, assign the canvas displaying the picture to the image attribute of texture object, set needsUpdate = true of material object, and then m ...

Added by mniessen on Sat, 09 Nov 2019 16:24:16 +0200

Summary of tinymce rich text component

When using tinymce for the first time in the project, I encountered a big push problem. I felt that this component was too large and cumbersome, especially the slow response of the website. I couldn't respond in half a day, and I couldn't find many classes with APIs. Now I feel it's difficult to control it. Here is the sorting of the APIs used ...

Added by noisyscanner on Fri, 08 Nov 2019 20:43:23 +0200

Front End Training - Intermediate Stage (25) - Web Socket Network Programming (Issues 2019-11-14)

The most basic front end is HTML+CSS+Javascript.Having mastered these three technologies, even if you are getting started, is just getting started. Now the definition of front-end development is much more than that.Front-end small classes (HTML/CSS/JS), with the central idea of upgrading technical level and basic knowledge, we have classes (eve ...

Added by xdracox on Fri, 08 Nov 2019 02:08:10 +0200

schema nesting of marshmallow

schema Nesting Schemas can be nested to represent relationships between objects, such as foreign key relationships. For example, in the following example, Blog has an author attribute represented by a User object: import datetime as dt class User(object): def __init__(self, name, email): self.name = name self.email = email ...

Added by powergen on Thu, 07 Nov 2019 21:27:55 +0200

Hibernate Learning Notes 3 (HQL Query)

HQL statement In Hibernate, although simple primary key query statements can be generated directly by Hibernate using the API, complex query statements need our own handwriting. Hibernate provides us with an HQL statement to use. HQL is the abbreviation of Hibernate Query Language, HQL is a statement close to SQL, b ...

Added by PHPTOM on Thu, 07 Nov 2019 21:20:33 +0200

echarts display exception when changing form size after hiding element

Code: Problem reproduction steps: Step 1: open the page to display the chart normally Step 2: click the hide button to hide the box. If you directly click the show button at this time, the chart can still Normal display, no problem. The point is, if you click to finish hiding, instead of clicking to display, drag the window size Click display ...

Added by chombone on Tue, 05 Nov 2019 21:19:36 +0200

Understand prototype and prototype chain

prospect JavaScriptIt's object-oriented programming, but it's different from other programming languagesJavaScriptObject-oriented is not dependent on abstract classes, but through prototype chains. stayC++andJavaUsenewCommand, will be called"class"Constructor for. While inJavascriptIn language,newThe command is not followed by a class, but by a ...

Added by SiMiE on Mon, 04 Nov 2019 11:08:48 +0200

Small crawling 2: Chinese code scrambling and other issues

1. Solve the problem of Chinese code disorder (1) dynamic loading or not, (2) source data acquisition Map network on the other side: First page address: http://pic.netbian.com/4kmeinv/ Second pages: http://pic.netbian.com/4kmeinv/index_2.html Third pages: http://pic.netbian.com/4kmeinv/index_3.html #Step 1: there is a bug in the followin ...

Added by BenGilbert on Sun, 03 Nov 2019 17:38:17 +0200