Basic knowledge of jsp

<%@ page contentType="text/html;charset=utf-8" pageEncoding="utf-8"%> in the JSP instruction tag

pageEncoding is the encoding of the jsp itself, and the charset of contentType is the short encoding sent by the server to the client.

 

Guess you like

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