Advertisement

05.21.2008 at 09:37PM PDT, ID: 23423282
[x]
Attachment Details

how do I handle the null pointer exception on my web pages?

Asked by logudotcom in Java Programming Language

Tags:

In my web application, I use struts and hibernate .., some times, the null pointer exceptions are occuring and it displays the error something like this, see the attached image ...

i want to redirect to some error message page instead of showing this messages ... i know the null pointer exception could be handled well on the Try .. .Catch loop to do

Start Free Trial
Attachments:
 
error
error
 
 
 
[+][-]05.21.2008 at 09:47PM PDT, ID: 21620963

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Java Programming Language
Tags: exception handling, custom error handling, hava error handling
Sign Up Now!
Solution Provided By: melchkishore
Participating Experts: 2
Solution Grade: A
 
 
[+][-]05.21.2008 at 09:51PM PDT, ID: 21620973

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.21.2008 at 10:03PM PDT, ID: 21621026

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.21.2008 at 10:38PM PDT, ID: 21621179

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.21.2008 at 10:53PM PDT, ID: 21621242

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628