java中idea中jsp在tongweb中显示乱码相关说明??

参考:(idea)https://blog.csdn.net/CalabashGourd/article/details/99676670

(jsp)https://www.cnblogs.com/lucky-zhangcd/p/8444018.html

(tongweb)https://blog.csdn.net/realwangpu/article/details/109540781

jsp中编码设置方式:

1<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 

2<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "https://www.w3.org/TR/html4/loose.dtd"> 

3<html> 

4<head> 

5<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 

6</head> 

7<body>

8

9</body>

10</html>

??

??

评论

© java小牛钱小白 | Powered by LOFTER