当前位置:网站首页>What is the function of page directive contentPage/pageEncoding in JSP page?
What is the function of page directive contentPage/pageEncoding in JSP page?
2022-08-02 08:38:00 【qq_25073223】
From:
The page directive contentPage in the JSP pageWhat function does /pageEncoding have?
The following will describe the functions of the contentPage and pageEncoding directives of the page directive, as follows:
The function of the contentPage and pageEncoding directives of the page directive: used to set the encoding of the pagelike:The contentType property is used to set the Content-Type response headerSpecifies that the document sent to the client program is of MIME typeHow to set contentType
Method 1: Query the MIME type in the tomca installation directory /conf/web.xml
doc application/msword
Method 2: Chinese settings for jsp pages
<%@ page language="Java" contentPage="application/msword; charset = GBK" %>---Set the page to Chinese<%@ page pageEncoding="GBK" %>
边栏推荐
- Biotin-EDA|CAS:111790-37-5| 乙二胺生物素
- TiFlash 存储层概览
- 设置 height: auto 却无法触发 transition 动画的解决方案
- cas:139504-50-0 美登素DM1|Mertansine|
- PostgreSQL learning summary (11) - PostgreSQL commonly used high-availability cluster solutions
- redis的安装与应用
- JSP页面中page指令contentPage/pageEncoding具有什么功能呢?
- Biotin-LC-Hydrazide|CAS:109276-34-8|生物素-LC-酰肼
- BGP solves routing black hole through MPLS
- 工程师如何对待开源 --- 一个老工程师的肺腑之言
猜你喜欢

postman下载安装汉化及使用

Redisson报异常attempt to unlock lock, not locked by current thread by node id解决方案

2022-7-31 12点 程序爱生活 恒指底背离中,有1-2周反弹希望

EPSANet: An Efficient Pyramid Split Attention Block on Convolutional Neural Network

MySQL Workbench 安装及使用

(Note)阿克西斯ACASIS DT-3608双盘位硬盘阵列盒RAID设置

cas:139504-50-0 美登素DM1|Mertansine|

解决IDEA安装安装插件慢问题

PyCharm使用教程(较详细,图+文)

Biotin-EDA|CAS:111790-37-5| 乙二胺生物素
随机推荐
小说里的编程 【连载之二十四】元宇宙里月亮弯弯
pnpm的安装与使用
HCIP9_BGP增加实验
PostgreSQL学习总结(11)—— PostgreSQL 常用的高可用集群方案
工程师如何对待开源 --- 一个老工程师的肺腑之言
软件测试技术之解析图灵测试离我们还有多远
@Repository详解
近期在SLAM建图和定位方面的进展
为什么都推荐使用wordpress, 而不是 phpcms 这些国内的CMS呢?
mysql去除重复数据
Redisson报异常attempt to unlock lock, not locked by current thread by node id解决方案
EPSANet: An Efficient Pyramid Split Attention Block on Convolutional Neural Network
Mysql Mac版下载安装教程
王学岗-编译出运行的文件
JSP中page指令的import命令具有什么功能呢?
Codeforces Round #811 (Div. 3)无DF
Detailed explanation of calculation commands in shell (expr, (()), $[], let, bc )
Flink 监控指南 被动拉取 Rest API
血气方刚的年轻小伙竟去做家政小哥,是怎样成功逆袭转行的
设置 height: auto 却无法触发 transition 动画的解决方案