Making and verifying the verification code of Jsp+Servlet (1)

Method 1: BufferedImage+Graphics to make verification code 1. Make JSP page (as shown in the figure)         The code is as follows: 1 <body> 2 <form action="<%=request.getContextPath()%>/servlet/LoginServlet" method="get" /> 3 Verification Code:<input type="text" name="checkcode"/> 4 <img alt="Verification Cod ...

Posted by ilikephp on Sat, 02 May 2020 20:35:42 +0200

Min UI, a mobile component library based on Vue.js, realizes unlimited scrolling and loading more

By climbing the pit many times, we found the common point of these monitoring scrolls to load more components, Because these load more methods are bound to the elements that need to load more content, Therefore, when the monitor hears the scrolling event, it will continue to load more, So for infinite scrolling, you don't need to write the firs ...

Posted by lyasian on Sat, 02 May 2020 13:01:20 +0200

Understanding of JavaScript "this"

Text explanation: 1, Understanding of this:This: it means "this". It's a pronoun. The meaning of pronoun is determined by the scene or situation. You, me, him, this, that, are pronouns. When someone says, "I'm eating", then who is this "I", we must see who said this sentence, who said it, who I am, that is, &quo ...

Posted by jpr on Sat, 02 May 2020 12:58:41 +0200

Using input input box to achieve nice check box effect (css+jq)

After the completion of the design, it is really a barrier and long QAQ. When using a check box, because it is too ugly to abandon the check box, I made one myself. There is no picture in it, which is implemented by css and jQuery. The final effect can be seen directly without much nonsense: The html element is design ...

Posted by daftdog on Fri, 01 May 2020 08:33:11 +0200

Picture labeling component - jquery.picsign - the first open source component encapsulated by itself

After a few days of trying and learning, I have encapsulated my first js component, there are many shortcomings, please give me some advice. Because of some business needs, we need to add some labels to the pictures, find some on-line but can not meet the needs, and there are some bug s, too many pits So I have the idea of encapsulating one by ...

Posted by JohnMC on Wed, 29 Apr 2020 19:44:09 +0200

Asp.Net Core 3.1 learning 4. JWT based token verification and Swagger use in Web Api

1. Initial JWT 1.1 JWT principle JWT (JSON Web Token) is the most popular cross domain authentication solution at present. Its advantage lies in that the server does not need to store tokens for distributed development, and provides data for the APP for the project of front-end and back-end separation. The items of the token generated by log ...

Posted by presence on Tue, 28 Apr 2020 07:06:22 +0200

Note: build a simple file search system based on Springboot+Lucene

Different types of files are stored in the file storage system. The background extracts the file name and content through the program. Lucene is used to index the file name and content. The front end provides a query interface for the user. After the user submits the query keywords, the index library is retrieved and the matching documents are ...

Posted by txmedic03 on Sun, 19 Apr 2020 16:23:54 +0200

Angular vs React vs Vue vs UISYS event binding comparison (novice must see)

1. Start from zero Event binding is the second lesson for beginners in web development, and learning event binding represents a new lesson in which you will challenge interaction.Let's first look at what native html + JavaScript does: Native mode: <div> <button onclick="greet()">Greet</button> </div> <script> ...

Posted by Lodius2000 on Fri, 17 Apr 2020 04:30:03 +0200

Using Baidu map to realize map grid

Recently, baidu map will be used to realize the function of building visualization, so the most basic function is to realize the division of building in different regions after gridding the map; 1. Go to the open platform of Baidu map to apply for the secret key. Here I post my secret key; ak=A3CklGvnFOjkAzKzay2dySgfdig0GKz4 2. Create a new sim ...

Posted by nomad9 on Wed, 15 Apr 2020 20:10:36 +0200

Python3 Standard Library: json JavaScript Object Notation

1. json JavaScript object notation The JSON module provides an API similar to pickle, which can be represented linearly and is called JavaScript Object Notation (JSON).Unlike pickle, JSON has one advantage: it has multiple language implementations (especially JavaScript).JSON is most widely used for communication between Web servers and clients ...

Posted by igebert on Wed, 15 Apr 2020 04:17:42 +0200