当前位置:网站首页>What does the errorPage attribute of the JSP page directive do?
What does the errorPage attribute of the JSP page directive do?
2022-08-02 00:18:00 【qq_25073223】
From:
What does the errorPage attribute of the JSP page directive do??
The following describes the brief description of the errorPage function of the page directive in JSP, as follows:
errorPage function: The errorPage attribute is used to set the JSP page. Notes on jumping the page when an exception occurs: The errorPage and isErrorPage attributes should be used together forSpecify the error page errorPage property: specify the page to jump to when an error occurs isErrorPage property: set the page to be an error pageExample:
Error pages<%@ page language="java" contentType="text/html" pageEncoding="GBK"%><%@ page errorPage="error.jsp"%>test errorPage ------------------------------------------------------------------------------------------------------------error.jsp: Error handling page<%@ page language="java" contentType="text/html" pageEncoding="GBK"%><%@ page isErrorPage="true"%><%--indicates that the page is an error page --%> errorPage property test
test isErrorPage isErrorPage property test
边栏推荐
猜你喜欢

Using the "stack" fast computing -- reverse polish expression

An interesting project--Folder comparison tool (1)

Arduino Basic Syntax

Quick solution for infix to suffix and prefix expressions

Short video SEO optimization tutorial Self-media SEO optimization skills and methods

How to solve the error when mysql8 installs make

微软电脑管家V2.1公测版正式发布

玩转NFT夏季:这份工具宝典值得收藏

bgp 聚合 反射器 联邦实验

Unity—四元数、欧拉角API+坐标系统
随机推荐
els block deformation
Keepalived 高可用的三种路由方案
含外部储能的电力系统暂态稳定分布式控制
如何重装Win11?一键重装Win11方法
NFT工具合集
async/await 原理及执行顺序分析
REST会消失吗?事件驱动架构如何搭建?
Excel导入和导出
【HCIP】BGP小型实验(联邦,优化)
Arduino Basic Syntax
IP Core: FIFO
Is TCP reliable?Why?
IO流基础
学习英语的网站与资料
Axure tutorial - the new base (small white strongly recommended!!!)
链上治理为何如此重要,波卡Gov 2.0又会如何引领链上治理的发展?
EasyExcel的简单读取操作
After reshipment tencent greetings to monitor if the corresponding service does not exist by sc. Exe command to add services
【三子棋】C语言实现简易三子棋
How to find new potential projects?Tools recommended