Setting of jsp file encoding in eclipse

The default character encoding of a new jsp page file in Eclipse is ISO-8859-1

1. Open eclipse

2. Click Window to pop up the drop-down list, select Preferences

3. In the pop-up Preference settings, find Web, and click JSP Files;

4. Modify the Encoding value to ISO 10646/Unicode(UTF-8);

5. Click Apply--ok after modification.



Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325810110&siteId=291194637