Properties of the JAVA JSP page directive ErrorPage and Iserrorpage

Source: Internet
Author: User
Tags tomcat server

"ErrorPage specifies what the actual response page of the current page error is, where"/"represents the root of the current web App

<% page errorpage= "/error.jsp"%>

  

"When responding to error.jsp, the JSP engine uses the way the request is forwarded

ISERRORPAGE Specifies whether the current page is a bit error handling page, can indicate whether the current page can use exception hidden variables, it is important to note: If you specify Iserrorpage= "true", and make the exception method,

It is generally not recommended to have direct access to this page.

"How do you make a customer unable to access a page directly?" In general, for a Tomcat server, files under Web-inf cannot be accessed by directly entering addresses in the browser, but can be accessed through request forwarding.

   

      

Properties of the JAVA JSP page directive ErrorPage and Iserrorpage

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.