A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Joined: Jan 23, 2006
Dec 12, 2006 00:44:00
How to Handle
Thanks advance who ever answers this question.
Joined: Nov 16, 2005
Dec 12, 2006 01:08:00
It is not advicable to catch
and its subclasses.
Do you have any specific reasons to do? If so,
1. Write a JSP with page attribute isErrorPage="true", so that you will get exception implicit object avaliable for you to see what exception occured.
2. In the other JSP you can add errorPage="<pointing to the previous JSP>".
1. Step-1 above
2. In web.xml(Deployment Decriptor),
<location>(pointing to the previous JSP you created)</location>
Prabhu Venkatachalam<br />SCJP 1.4,SCWCD 1.4<br />firstname.lastname@example.org
Joined: Feb 24, 2006
Dec 12, 2006 01:09:00
If you think you can recover from the exception I would suggest a c : catch block. What part of your code throws this ?
SCJP 6 articles
SCJP 5/6 mock exams
More SCJP Mocks
Mock Exam Question doubt
Hashtable allowing null values
accessing a .properties file
Who is your worst enemy??
Tech Word Game
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014