This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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

Win a copy of Building Microservices this week in the Design forum!
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: 404 Error on Resin
It's not a secret anymore!