Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6909041
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:38:20+00:00 2026-05-27T08:38:20+00:00

Getting to the point, I have .jsp page and error page, well if there

  • 0

Getting to the point, I have .jsp page and error page, well if there is something goes wrong with the first one, the error page should turn up then, now i don’t want the first page to redirect to the error page anymore, by assigning false to isErrorPage attribute at the error page, the first page should display that stupid exception trace, however the first page keeps redirecting to the error page, here is my simple Error page code :

 <%@page contentType="text/html" pageEncoding="UTF-8" isErrorPage="false"%>
 <!DOCTYPE html>
 <html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>JSP Page</title>
    </head>
      <body>
       <h1>guess what ? this is supposed to be an error page</h1>
     </body>
</html>

here’s the first page I’ve been talking about :

 <%@page contentType="text/html" pageEncoding="UTF-8" errorPage="anotherErrorPage.jsp" %>
   <!DOCTYPE html>
 <html>
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     <title>JSP Page</title>
    </head>
  <body>
      <h1>Hello World!</h1>

      <% int i = 3/0;%>
  </body>
</html>

thanks a zillion .

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T08:38:20+00:00Added an answer on May 27, 2026 at 8:38 am

    isErrorPage=”false” does not stop you to redirect error page. As long as you specified errorPage in the first JSP, it will redirect to its errorpage. In you example it redirects to “anotherErrorPage”.

    isErrorPage attribute decides whether the implicit object exception will be available or not. During JSP to Servlet conversion, In service() method, based on this attribute exception object would be defined. If you set false you can’t use exception object in that page.If you set true exception object will be there and you can use it

    In your case If you want to show the exception you have todo either of the below,
    1. In anotherErrorPage, define isErrorPage=”true” and display or catch the exception by implicit object “exception”.
    2.Remove errorPage attribute in first jsp page.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm getting at one point with iOS. I have 2 UIImage which are bgImg
I am getting time out from using JsonpRequestBuilder. The entry point code goes like
Am trying to get the application context in my JSP page. I have the
So by now I'm getting the point that we should all be implementing our
I've created my first custom Umbraco 5.1 solution. At this point I have a
It's getting to the point where I have about 100 or so personal functions
I have this strange behavior in my JSP page: I have two Integer variables
I have problems with getting my JSP view right. What I intend to do
I have the following in a jsp page; <script language=javascript> function ClickMe_Click(){ $.ajax({ type:
I have created a jsp page in which I load a set of text

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.