473,883 Members | 2,453 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

errorpage.jsp

10 New Member
Hi all,


i need to add errorpage in every jsp page in my project.can any one provide errorpage tht should display error occurred.

need very urgent......plz help me yaar
Oct 3 '07 #1
1 1294
dmjpro
2,476 Top Contributor
Hi all,


i need to add errorpage in every jsp page in my project.can any one provide errorpage tht should display error occurred.

need very urgent......plz help me yaar
Simply make your Jsp Page and set it into your Jsp Page as errorPage.
Or you can forward a page when an Exception occurred in your Jsp Page.

Kind regards,
Dmjpro.
Oct 3 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1287
by: Eje | last post by:
I'm designing a 3-tier web application in .NET. In the middle tier I have an error handler. I use Try-Catch where I feel it's necessary. If I get a critical error I would like to redirect to a "Critical Error page" directly from the error handler without going up to the UI tier. Is that possible and in that case how does the code look? Eje
2
1220
by: Daniel | last post by:
Hi, I have just a question: I need when a error ocurrs on my page, the error page that I defined be oponed. Just setting errorPage="ErrorPage1.aspx" in my page will work, rigth? or I'm making a mistake, because I doesn't work and the page crashed showing the message error. I need your support, thanks.
3
2028
by: Michael | last post by:
Hello, I'm using Web Matrix and tried to add ErrorPage like this: <%@ Page Language="C#" Debug="true" ErrorPage="hello.aspx" %> I thought this would trap unhandled exceptions and redirects to hello.aspx; it does not. Help. Thanks.
1
1044
by: Daniel | last post by:
How can I get in my custom ErrorPage the error message from the page that produced the error ?? This is just for displaying the error.
0
888
by: Tee | last post by:
Hi I am currently creating an error handling event that will email the error details to my email. but what I can get is just the exception.stacktrace & exception.message. can we email the error page we see in browser to email ? as that would include the Source Error which tell excatly which line caused the error.
1
1193
by: Lars Netzel | last post by:
Hey! I use a custom error page in my solution, ErrorPage.aspx. Which I have styled so it goes well with the rest of the appliction... it's currently all static... Is there anyway in that page to actually access the error messages and infroamtion given by the IIS? To at least give the user feedback (to forward to the suport or something) on what page it was who gave the error and what Rownumber in that page?
2
1107
by: Jeff Robichaud | last post by:
Hi, It is said the ErrorPage property of System.Web.UI.Page defines the target page where the browser will be redirected when un unhandled exception occurs. Doesn't seem to work...well it works fine at the application level (using web.config) but I thought that we could do it at the page level too ?? Maybe I misunderstood something...
2
1503
by: ad | last post by:
Hi, I use the setting below in Web.config <customErrors mode="On" defaultRedirect="~/ErrorPage/GenericErrorPage.aspx" /> How could we get error statusCode when GenericErrorPage is load?
8
1983
Paxxer
by: Paxxer | last post by:
Hi All, <%@ Page Language="C#" MasterPageFile="~/MasterPages/MyMaster.master" errorPage="~/Errors/Error.aspx" Title="This will have an Error" AutoEventWireup="true" CodeFile="NewError.aspx.cs" Inherits="NewError" %>
0
9953
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9799
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11166
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10768
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10422
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9588
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7137
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6009
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4623
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.