JDK1.7 VS JDK1.8 comparison
Static inner class
get() metho ...
Posted on Mon, 17 Feb 2020 22:15:52 -0500 by the-Jerry
This article explains how to deploy two vue projects on a nginx, and the difference between root and alias.
First, assume the main domain name is www.yuming.com. The subdomain to be bound is www.yuming.com/two
The following figure first shows the nginx configuration of a project. api i ...
Posted on Mon, 17 Feb 2020 22:06:08 -0500 by briglia23
Purpose and principle:
When handling exceptions, if we want to return different pages according to the actual situation, @ ControllerAdvice and @ ExceptionHandler are generally used to handle application level exceptions, and some container level errors cannot be handled, such as throwing exceptions in Filter. SpringBoot will have a default pag ...
Posted on Mon, 17 Feb 2020 03:51:47 -0500 by wisedj
I've written a time-based task based on quartz before. The front-end and distribution need to be improved https://my.oschina.net/wangnian/blog/758054 , which is directly based on time. In fact, it will be executed after and when.
Today is my first day back to work. Many of my friends have been back to work. They have been wearing masks for hal ...
Posted on Mon, 17 Feb 2020 01:57:35 -0500 by voltrader
1, The role of RequestMapping
2, Properties of RequestMapping
1, The role of RequestMapping
Function: @ RequestMapping annotation can complete url request mapping.
It can work on methods.
Posted on Sun, 16 Feb 2020 23:06:54 -0500 by mikeq
SQL Injection (intro)
select department from employees where first_name='Bob';
update employees set department='Sales' where first_name='Tobi';
alter table employees add column phone varchar(20);
grant alter table to UnauthorizedUser
SELECT * FROM user_data WHERE first_nam ...
Posted on Sun, 16 Feb 2020 22:12:24 -0500 by paulareno
Design patterns are essential skills for good programmers and are often mentioned in interviews.
IT industry has a high job-hopping rate, which makes it less frequent to interview.As an interviewer, if all the other knowledge of the candidate is OK, I will end up referring to <b>design patterns</b>related content.If the ...
Posted on Sun, 16 Feb 2020 19:08:35 -0500 by akumakeenta
Java13 Core Classes
Without special instructions, all my study notes were taken from Mr. Liao and deleted.
I went around to my senior year and learned C, C++, C_#, Java, Python, one thing at a time, and finally picked up Java.Therefore, I advise you to master one object-oriented, although Python is easy to write, but after all, ...
Posted on Sun, 16 Feb 2020 12:41:31 -0500 by Rhiknow
I read some articles about closures, and I saw them everywhere, but I didn't explain exactly how it works - every time I was told to use it :
// Create a new anonymous function, to use as a wrapper
// The variable that would, normally, be global
var msg = "Thanks for visiting!";
// Binding a new function to a global ...
Posted on Sun, 16 Feb 2020 04:02:03 -0500 by l_evans
Java programs sometimes create multiple threads in the main thread to execute tasks, and then summarize the tasks of all threads before the main thread finishes executing. In the past, thread join method can be used, but this method is not flexible enough. We can use CountDownLatch class to achieve more elegant, and if thread pool is used, ther ...
Posted on Sun, 16 Feb 2020 00:43:00 -0500 by mobilephp