Recent Posts
-
Using commons toolkit to upload files
1、 First, import the Commons IO / and Commons fileUpload / packages 2、 Writing servlets import org.apache.commons.f…… -
Java learning history (I)
1、 Classes and objects 1. Create class Create a student class and create member variables and methods public class st…… -
Layered idea in Java Web Development (1)
1、 Understanding Dao, service and controller layers DAO(Data Access Object) 1. Direct look at English means "data a…… -
Four permission modifiers and six non access modifiers in Java
1、 What are the four access modifiers? 2、 A brief understanding of four access modifiers 1. Public permission modifi…… -
SSM configuration file record (I)
1、 Personal environment Jdk8,Maven3. 8,Tomcat9,IDEA 2、 POM xml Dependent packages: Junit4. 12 mybatis3. 5.6 mysql…… -
My java data stack – start
preface In the process of learning Java, to tell the truth, I still read a lot of Java materials from the training str…… -
Exception, thread
Chapter I exceptions 1.1 abnormal concept Abnormal means abnormal. In life: the doctor said that there is an abnormali…… -
Algorithm summary (I)
1、 Solving steps 1. Problem analysis The information analysis given in the title and the description of the review pr…… -
Java method for generating unique primary key UUID (UUID method)
In normal development, if there is no mechanism for the database to automatically generate ID, you can use the UUID pr…… -
Open eclipse and report an error version 1.7 0_ 80 of JVM is not suitable for this product
Error when opening eclipse After configuring the environment variables: check the Java version: the following is 1.8, …… -
How to enter the management page of Tomcat Manager / HTML configuration method
For security reasons, the Tomcat management background is closed by default. However, in order to facilitate managemen…… -
Java operating Oracle database code case
catalogue 1. First create a student table in Oracle Database: 2. Add some data to the table 1. Add ojdbc6 Import jar i…… -
How to apply Java Web 3 1 + project version reduction and replacement of JDK and Tomcat
First: configure the running server of Eclipse: we configure Tomcat 7 version + jdk1 Version 7; Then add the previous …… -
Eclipse best font recommendation / and font setting method
Follow the path below to open the edit box Steps: Eclipse - > windows - > Preferences - > General - > appe…… -
Null or null value judgment processing – Java
1,错误用法一: if (name == "") { //do something } 2,错误用法二: if (name.equals("")) { //do something…… -
How can the Serialize () parameter and other parameters of the jQuery form be passed to the back end together
When the front end passes parameters to the back end, sometimes the form can be passed directly for convenience var fo…… -
How to recover the java file code deleted by mistake in eclipse
Recovery of accidentally deleted files When writing code with eclipse, files or packages are sometimes deleted by mist…… -
Several methods of modifying database password with MySQL
The first way: The simplest method is to modify with the help of the third-party tool Navicat for MySQL, as follows: 1…… -
Deploying WebService services on Tomcat
catalogue 1. Add related reference package: 2. Configuration file: sun jaxws xml 3. Modify web XML configuration file …… -
The combox custom style in jQuery easyUI removes the blank of the drop-down box
Effect after adding: -
Linux system management (11) — JDK installation and environment variable configuration under Linux
catalogue 1. Upload the downloaded JDK package to CentOS operating system via SSH 2. Unzip 3. Edit system environment …… -
The default eclipse project deployment path (. Metadata \. Plugins \ org. Eclipse. WST. Server. Core \ tmp0 \ wtpwebapps) is changed to its own Tomcat real path method
Configure eclipse development environment, JDK installation path and Tomcat installation path. Create a dynamic web pr…… -
Developing simple Java Web Service under eclipse
Service part Create a new dynamic web project under eclipse Create a new service class in the project Write code for t…… -
Solution of Java automatically jumping to debug mode
When debugging web projects, eclipse will always automatically jump to the debug mode, and the port will be occupied b…… -
Java operation access database usage method, case and required jar package [source code and jar package are downloaded at the end]
catalogue Write in front Database editing software MDB plus exe Differences in SQL query statements String to number S…… -
Sqlserver deadlock com microsoft. sqlserver. jdbc. SQLServerException: Transaction (Process ID 52) was deadlock
Java multithreading operates the SQLSERVER database and executes the update operation; report errors: First, check the…… -
Setting, tuning and using eclipse (solving problems such as startup jam)
Eclipse tuning generally does not set up eclipse. When using eclipse, you will always feel that it is slow to start an…… -
A simple HTML tag marquee to realize dynamic scroll bar
catalogue Label effect Scroll bar code Detailed explanation of label properties Vertical rolling, horizontal rolling, …… -
Summary of Java method for obtaining absolute path of Web project
@H_419_1@ 一、用Jsp获取 1、获取文件的绝对路径 String file="文件";(例如:data.mdb) String path=application.getRea…… -
Summary of Java method for obtaining absolute path of Web project
@H_419_1@ 一、用Jsp获取 1、获取文件的绝对路径 String file="文件";(例如:data.mdb) String path=application.getRea…… -
Connect and operate SQL Server database with Java
First, we need to add the corresponding sqljdbc to the software used jar。 General process 1. Load JDBC Driver: Before…… -
Detailed explanation of judging string equality = = and equal in Java
① If we define two strings: String c="123"; String d="123"; System. out. println(c==d); At this time, the return value……