File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes 404 Error on Resin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "404 Error on Resin" Watch "404 Error on Resin" New topic

404 Error on Resin

Syamala Raja Pratap

Joined: Feb 28, 2002
Posts: 2
I am using resin server for processing my JSP's. I want show a custom page instead of just showing FileNotFound page (usually shown by the browser). I have placed the following tag in my resin.conf file as specified in the configuration files. I am using resin 1.2.2.
<error-page error-code='404' location='/error.jsp'/>
I am getting the following result but not what is in the error.jsp.
Also I found that the location really does not matter. What I mean is that even if I change the location to a place where the file does not exist I am getting the same result. If I don't have this tag, I am getting normal FileNotFound error from the browser.
Thanks in advance.
Syamala Raja Pratap

Joined: Feb 28, 2002
Posts: 2
Got it. Had to get latest version of Resin.
I agree. Here's the link:
subject: 404 Error on Resin