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 404 Error on Resin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
Similar Threads
Problem with Custom Error Page
Problems with jsp-error page in web.xml
How to hanfle error code 404
web.xml error-page problem
Implicit variable "exception" is null