jQuery in Action, 2nd edition*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "404 Error on Resin" Watch "404 Error on Resin" New topic
Author

404 Error on Resin

Syamala Raja Pratap
Greenhorn

Joined: Feb 28, 2002
Posts: 2
Hi,
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.
<html><body></body></html>
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.
-Raja.
Syamala Raja Pratap
Greenhorn

Joined: Feb 28, 2002
Posts: 2
Got it. Had to get latest version of Resin.
Thanks,
Raja.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: 404 Error on Resin