In my JSP, I am accessing a bean through <jsp:useBean>.In the same JSP I have decalred my on errorPage in <%@ page %> directive. But when ever a bean class (aboue said) throws an exception, browser's errorPage is displayed and not mine one. All syntax and decalrations are as per standard. Note: In a bean class whole code is written in a try-catch block. Is try-catch block is a culprit?
Bhushan Jawle
Ranch Hand
Joined: Nov 22, 2001
Posts: 248
posted
0
Can you post the code
Dhananjay Inamdar
Ranch Hand
Joined: Jan 27, 2003
Posts: 130
posted
0
Hello Do you declare a page directive in your actual error page with isErrorPage="true" attribute? This is also necessary, while displaying the custom error page.
Just like you, struggeling to get the right solutions!<br /> <br />Sun Certified Java Programmer 1.5<br /> <br />Target - SCWCD