I'm trying to get a custom 404 error page to appear.  I'm using the JRun
web server, and have followed the instructions in chapter 40 of
Developing Applications with JRun.

I've put

<error-page>
<error-code>404</error-code>
<location>/_err/404.htm</location>
</error-page>

in my web.xml and I've restarted the web server.

Sniffing around, I can see that something is going on in the
ServletContext attributes: there is a jrun.webprops attribute with a
mapping:

web-app.error-page.error-code.404=/_err/404.htm

So it looks like it is being loaded from the web.xml file...

I'm using JRun 3.0 (no sp's) on Win2K.  I'm using JRun Web Server, not
IIS.  One change from the default setup is that .htm files are processed
as .jsp's.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to