Home > Java > javaTutorial > Solution to garbled code when starting TOMCAT html in idea

Solution to garbled code when starting TOMCAT html in idea

怪我咯
Release: 2017-06-25 10:13:34
Original
5042 people have browsed it

In the Startup/Connection panel of the run/debug configuration dialog box,

check Pass environment variables.

and add an environment variable,

Name fills in JAVA_TOOL_OPTIONS , Value fill in -Dfile.encoding=UTF-8.

idea启动TOMCAT html 乱码

idea启动TOMCAT html 乱码

idea启动TOMCAT html 乱码

# #Click OK. Restart TOMCAT for debugging.

This set of procedures perfectly solves the problem of garbled characters.

The above is the detailed content of Solution to garbled code when starting TOMCAT html in idea. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template