Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

404 Error on Resin

 
Syamala Raja Pratap
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got it. Had to get latest version of Resin.
Thanks,
Raja.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic