A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other Java Products and Servers
Customize error page
Joined: Aug 11, 2004
Aug 11, 2004 09:24:00
Hi Guys, I�m trying to customize the error page with Resin 3.08.
I added the following to resin.conf:
<error-page error-code='404' location='/missing.htm'/>
Instead of my customized 404 error-page, I get a default 404 error saying: "/missing.htm was not found on this server. "
This is what the log say:
[15:11:50.095] real-path /missing.htm -> /data2/error/missing.htm
[15:11:50.096] no default
defined for URL: '/missing.htm'
Does anyone know how can I resolve this problem?
Thanks a lot,
Joined: Jul 01, 2004
Sep 01, 2004 04:43:00
You have to define your default error page in web.xml
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Customize error page
Problem with Custom Error Page
User Defined Error Page for 404
Handle all error codes other than one
Tomcat cant recognize "error-page" tag in web.xml
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013