JSP website garbled on Linux? Note the language environment on Linux

zhaozj2021-02-16  54

A website is a GBK-based JSP website, but there is garbled.

Before starting the web server, you should type the following command in the command line:

EXPORT LANG = zh_cn.gbk

For example, Tomcat Linux, if it is remote control Linux to download the SSH Secure Shell Client client:

EXPORT LANG = zh_cn.gbk

Startup.sh

This can solve garbled problems

转载请注明原文地址:https://www.9cbs.com/read-18067.html

New Post(0)