aspose file tools
The moose likes JSP and the fly likes JSP errorPage Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "JSP errorPage" Watch "JSP errorPage" New topic
Author

JSP errorPage

AMIT ARADHYE
Greenhorn

Joined: Dec 13, 2000
Posts: 15
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
Can you post the code
Dhananjay Inamdar
Ranch Hand

Joined: Jan 27, 2003
Posts: 130
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP errorPage
 
Similar Threads
ERROR - ValueBindingImpl.getValue | Cannot get value for expression '#{modelPage
Servlet runtime exceptions
try catch & errorpage
Problem of parameter
JSP -> Servlet and form bean.