current location:Home > Technical Articles > Backend Development
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- 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
- 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
- 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)
- 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
- 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 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
- 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
- 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
- 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
- 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)
- 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
- 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
- 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?
- 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
- 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