Personal interface of java web developing twitter project
Today, I will continue to introduce the related functions of Java Web twitter project, mainly the selfdetail.jsp interface
Modify background map function
<button class="btn btn-info" id="xiugaibg">Click to modify the background map</button>
<form action="" method="post" id="updatebg"
e ...
Posted by darkknightgaury on Mon, 03 Feb 2020 18:27:09 +0100
Login page implementation verification code
1. Create a tool class to generate pictures
package com.bishe.utli;
import javax.imageio.ImageIO;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.io.OutputStream;
import java.util.Random;
public class ImageVerificationCode {
private int weight = 1 ...
Posted by phpbeginer on Sun, 02 Feb 2020 15:30:46 +0100
How do I call controller / view methods from the console in Ruby on Rails?
When I load script/console, sometimes I want to play with the controller's output or view assistant methods.
There are ways to:
Simulation request?
Call the method from the controller instance on the request?
Test assistant method by controller instance or other means?
#1 building
To call the helper, use the helper object ...
Posted by asuamol on Thu, 30 Jan 2020 11:59:15 +0100
Hibernate (17) grab strategy
This blog series is summarized here: Hibernate summary
Fetching strategies
Fetching strategies
1. Multi to one single end grabbing
The first way
The second way
2. One to many grabs
One end of one is a single object query
One end is multiple object queries
Source project file: Hibernate 4.3_ ...
Posted by billman on Wed, 29 Jan 2020 15:09:04 +0100
Talk about scheduled delivery time of artemis
order
This paper focuses on the scheduled delivery time of artemis
HDR_SCHEDULED_DELIVERY_TIME
activemq-artemis-2.11.0/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/message/impl/CoreMessage.java
public class CoreMessage extends RefCountMessage implements ICoreMessage {
//......
@Override
public Long getScheduledD ...
Posted by uramagget on Tue, 28 Jan 2020 16:52:17 +0100
The use of boost log Library
There is a log library for developers to use in boost, but the efficiency is not the highest:
Add the header file "include < boost / log / trial. HPP > to import the log Library
The log Library in boost has the following six levels:
BOOST_LOG_TRIVIAL(trace) << "A trace severity message" ...
Posted by phpyoungdeveloper on Mon, 27 Jan 2020 15:23:30 +0100
Talk about the push-pull mode of artemis message
order
This paper mainly studies the push-pull mode of artemis messages
Pull mode
receive
activemq-artemis-2.11.0/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQMessageConsumer.java
public final class ActiveMQMessageConsumer implements QueueReceiver, TopicSubscriber {
//......
@Override
public Message ...
Posted by raker7 on Fri, 24 Jan 2020 15:31:01 +0100
The first program developed by Ros
Engineering creation
Create and enter the catkin folder
wilson@ubuntu:~/code$ mkdir catkin
wilson@ubuntu:~/code$ cd catkin/
Create and enter src folder
wilson@ubuntu:~/code/catkin$ mkdir src
wilson@ubuntu:~/code/catkin$ cd src/
wilson@ubuntu:~/code/catkin/src$
Initializing the workspace in the ...
Posted by Joefunkx on Wed, 22 Jan 2020 16:50:45 +0100
SpringSecurity Default Form Login Page Shows Process Source
This article focuses on how SpringSecurity provides the default form login page and how it presents the process.
Involve
1.FilterSecurityInterceptor,
2.ExceptionTranslationFilter ,
3.DefaultLoginPageGeneratingFilter filter,
The voting mechanism of AccessDecisionManager is also briefly introduced.
_1. Prepare (experience SpringSecurity default ...
Posted by badapple on Wed, 22 Jan 2020 03:00:48 +0100
[Python crawler instance learning chapter] - 4. Super detailed video of climbing bilibili bili
[Python crawler instance learning chapter] - 4. Super detailed video of climbing bilibili bili
Because I often study on station B, but I can't help but my home network is too poor, and my online viewing is seriously jammed, so I got the idea of downloading videos (if you just want to download videos, ...
Posted by gacon on Tue, 21 Jan 2020 14:21:11 +0100