JSP learning notes (principle, syntax, built-in objects, tags)

1. What is JSP? JSP, the full name of Java Server Pages, is a dynamic web page development technology. It uses JSP tags to insert Java code into HTML web pages. Labels usually start with <% and end with% >. JSP is a Java servlet, which is mainly used to realize the user interface part of Java web application. Web developers write JSPS b ...

Posted by strega on Sat, 23 Oct 2021 00:56:56 -0700

Java-22 Chapter 6 assignment

1. In the experiment, use the debug function of IDE to set breakpoints for the new statements of examples 6.4 and 6.5, use step into / step over to track the execution sequence of subclass object instantiation (initialization), and summarize the process Example 6.4 //Example 6.4: explicitly using super to call the constructor of the parent cl ...

Posted by stevenheller7@gmail.com on Fri, 22 Oct 2021 23:41:40 -0700

Java: extract the content in the xml file into entity and transfer it to the database

summary         In our daily work, we often encounter the need to extract the information in xml files and convert it into entity classes. Combined with our own work experience, we make the following summary, which is convenient for people and ourselves. Code example xml format: <?xml version="1.0" encoding="utf-8"?& ...

Posted by Bunkermaster on Fri, 22 Oct 2021 23:15:48 -0700

Spring document learning

1.IOC control reversal IOC theoretical derivation Previous methods 1. First write a UserDao interface public interface UserDao { public void getUser(); } 2. Then write Dao's implementation class public class UserDaoImpl implements UserDao { @Override public void getUser() { System.out.println("Get user data"); } } 3. ...

Posted by Madatan on Fri, 22 Oct 2021 22:52:54 -0700

Want to thoroughly understand how large manufacturers achieve Redis high availability? It's enough to read this article

High Availability HA (High Availability) is one of the factors that must be considered in the architecture design of distributed systems. It usually refers to reducing the time when the system cannot provide services through design. Assuming that the system can always provide services, we say that the availability of the system is 100%. If the ...

Posted by Retired Bill on Fri, 22 Oct 2021 22:19:40 -0700

Android discrete selection control

Recently, we need to use the drag bar in the project, and the drag bar can only be between certain values, so we found some data. SeekBar SeekBar enables discrete value selection by setting the Widget.AppCompat.SeekBar.Discrete theme. <androidx.appcompat.widget.AppCompatSeekBar android:id="@+id/seekBar" style="@style/Widge ...

Posted by mw-dnb on Fri, 22 Oct 2021 21:48:51 -0700

[ ☕ Java] it is called [function] in C language and [method] in Java - this article clearly explains the "function" - Method in Java

💜 Write in front 💜 preface We must have learned about functions in C language. I believe you have a deep understanding of functions, because functions are used in C a lot. Especially when doing projects, they are written in modules. Java also provides you with "functions", but the names are different. In Java, they are called ...

Posted by ess14 on Fri, 22 Oct 2021 21:11:11 -0700

mybatis learning notes-04

1. Set log Logs can facilitate our troubleshooting. They are not enabled by default. They need to be set in the core configuration file. name and value should be consistent with the official documents! 1.1 default log <!--Set log default configuration--> <settings> <setting name="logImpl" value="STDOUT_LOGGING"/&gt ...

Posted by killerz on Fri, 22 Oct 2021 21:06:55 -0700

Thread safety problems and processing methods

Thread safety problems and processing methods Example: create three windows to sell tickets, with a total number of 100 tickets. Use the way to implement the Runnable interface 1. Problem: in the process of selling tickets, there are duplicate tickets and wrong tickets -- > there are thread safety problems 2. Cause of the problem: when a th ...

Posted by lazy_yogi on Fri, 22 Oct 2021 19:31:38 -0700

Graduation project - Title: parking lot management system based on big data analysis

1 Preface Hi, everyone, this is senior Dan Cheng. Today, I'd like to introduce you to a python web project (currently demo, under development.) Parking lot management system based on big data analysis (currently demo, under development.) You can use it for graduation design 2 system effect 3 Preface The current project is a park ...

Posted by TropicalBeach on Fri, 22 Oct 2021 19:17:02 -0700