File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes JSP errorPage Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
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: 247
Can you post the code
Dhananjay Inamdar
Ranch Hand

Joined: Jan 27, 2003
Posts: 128
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
 
 
subject: JSP errorPage
 
Threads others viewed
JSP -> Servlet and form bean.
Servlet runtime exceptions
try catch & errorpage
Problem of parameter
ERROR - ValueBindingImpl.getValue | Cannot get value for expression '#{modelPage
developer file tools