current location:Home > Technical Articles > Backend Development

  • vscode builds java development environment
    vscode builds java development environment
    The method for vscode to build a java development environment is: 1. First, you need to configure the environment variables, and then install java related plug-ins; 2. Then perform basic development configuration, configure maven, set global search ignore folders, and perform junit testing; 3. Finally Just use tomcat to debug the project.
    VSCode . tomcat 5204 2019-12-17 09:21:00
  • Introduction to several garbled code processing methods in Java
    Introduction to several garbled code processing methods in Java
    Java garbled solution: 1. The backend receives the request parameters, decodes them according to ISO-8859-1, gets the binary stream, and then encodes it with UTF-8. 2. Modify the server (tomcat) configuration. 3. Set the request parameter encoding directly in the servlet.
    JavaBase . tomcat 4024 2019-12-10 15:34:16
  • Garbled characters appear when url passes Chinese parameters in Java
    Garbled characters appear when url passes Chinese parameters in Java
    The reason why the Chinese parameter in "java" is garbled is that the server uses "ISO" encoding by default to decode the byte stream into a character stream. The solution is: the obtained string needs to be encoded into a byte stream using "ISO" first, and then decoded into a character stream using "utf-8".
    JavaBase . tomcat 2327 2019-12-05 14:05:03
  • Basic Java interview questions (4)
    Basic Java interview questions (4)
    What is a.hashCode() used for? What does it have to do with a.equals(b)? The difference between byte stream and character stream. What is java serialization and how to implement java serialization? Or please explain the role of Serializable interface. Describe the principle mechanism of JVM loading class files?
    JavaInterview questions . tomcat 2628 2019-12-04 15:04:05
  • tomcat cannot start under linux
    tomcat cannot start under linux
    The reason why "tomcat" cannot be started under "linux" is: the port is occupied. The solution is: first check the log file to confirm the occupied port number, then use the "netstat" command to check the occupied status of each port, and finally stop the process after confirming that the occupied process can be stopped, and restart "tomcat". Can.
    Linux Operation and Maintenance . tomcat 4123 2019-12-03 14:24:41
  • Solution to Chinese garbled java file name
    Solution to Chinese garbled java file name
    Solution to Chinese garbled file names in Java: 1. Use the encode(formFileName, "UTF-8") method to change the file name encoding. 2. Use the String(formFileName.getBytes("UTF-8"), "ISO-8859-1") statement to solve the problem.
    JavaBase . tomcat 4898 2019-12-11 17:25:08
  • Java page garbled solution
    Java page garbled solution
    Solutions to garbled java pages: 1. The garbled page submitted to tomcat can be solved by configuring the encoding format in tomcat/conf/server.xml. 2. If the JSP page is garbled, just use the "String(byte[],decode)" method at the beginning of the page to specify the encoding format.
    JavaBase . tomcat 2274 2019-12-10 17:10:36
  • Detailed explanation of the causes and solutions of garbled characters in Java
    Detailed explanation of the causes and solutions of garbled characters in Java
    The reason for garbled characters: It is caused by the inconsistency between the original encoding format of the string and the encoding format used for parsing when reading. Solution: Just change the encoding format of the garbled text in the java code.
    JavaBase . tomcat 12616 2019-12-07 15:08:13
  • Solution to garbled request in java
    Solution to garbled request in java
    Solutions to garbled requests in java: 1. Get request: Find the first connector in the tomcat configuration file server.xml and add the URIEncoding=UTF-8 attribute. 2. Post request: Set the encoding character set before obtaining the request parameters.
    JavaBase . tomcat 2368 2019-12-06 16:48:11
  • NGINX achieves high availability under Linux
    NGINX achieves high availability under Linux
    Under Centos, you can obtain the installation by switching the yum source. You can also directly download the installation package. The following commands require root permissions to execute: first install the necessary libraries (the gzip module in nginx requires the zlib library, and the rewrite module requires the pcre library).
    Nginx . tomcat 3470 2019-11-25 16:01:53
  • Introduction to basic knowledge of Linux (essential for backend)
    Introduction to basic knowledge of Linux (essential for backend)
    The system knowledge points and interview questions I have summarized for Java learning are now open source and will continue to be improved. Suggestions and guidance are welcome and Star: [Link]
    Linux Operation and Maintenance . tomcat 2587 2019-11-25 13:20:31
  • Java post request garbled solution
    Java post request garbled solution
    Solution to the garbled post request in Java: Enter request.setCharacterEncoding("utf-8"); on the requested page to solve the garbled post request. Post requests must be used when uploading files. Post requests have no length limit and are more secure.
    JavaBase . tomcat 8257 2019-11-22 14:37:11
  • How to read files in java
    How to read files in java
    Methods for reading files in java: 1. Read by using the [java.io] method, relative to the relative path of the current user directory; 2. Read by using the [java.lang.ClassLoader] method, relative to the classpath The relative path to read.
    JavaBase . tomcat 61202 2022-01-12 15:30:15
  • How to import packages in java?
    How to import packages in java?
    The first step: Create a new folder lib in the java project, and copy the jar package that needs to be imported into the lib folder; the second step, select the jar package, right-click [Build Path] → [Configure Build Path... 】After that, the jar package has been successfully imported.
    javaTutorial . tomcat 14425 2019-11-16 16:55:18
  • Garbled characters appear when opening java files in eclipse
    Garbled characters appear when opening java files in eclipse
    The solution to the garbled code when opening a java file in eclipse: 1. First check the encoding of the java file; 2. Enter the eclipse property settings page; 3. Select the content types option; 4. Modify the file encoding to utf-8; 5. Clear the project compilation document.
    JavaBase . tomcat 4536 2019-11-15 09:22:07

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28