Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
|
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 5th, 2006, 03:14 AM
Authorized User
 
Join Date: Sep 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to handle the JSP Exception in Java

Hi All,


In JSP i have written
<%@ page errorPage="/Error.jsp"%>

<% int i=10/0; %>

Then i have forwarded this Excpetion in Error.jsp.
In Error.jsp
<%@ page isErrorPage="true" %>

This error page is getting displayed.But i want to catch thrown exception in java file.How i can do it
Thanks in advance

sheetal
__________________
sheetal





Similar Threads
Thread Thread Starter Forum Replies Last Post
How can handle OutOfMemory Exception jazzydonald Pro Visual Basic 2005 2 October 5th, 2007 07:10 AM
How to handle OutOfMemory Exception FileFound Visual Studio 2005 4 July 3rd, 2007 07:23 AM
struts with jsp...exception ... shunmugag Struts 0 September 16th, 2006 03:08 AM
How to handle error or exception if it occurs popoxinhxan BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 August 27th, 2006 06:44 PM
Exception : java.lang.NoClassDefFoundError haifriends J2EE 1 July 26th, 2006 07:22 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.