Andrew,

This info might help:
http://www.allaire.com/Handlers/index.cfm?ID=13868&Method=Full

Good luck,

Lee Lonitz
Webmaster 
Lockheed Martin Corporation

-----Original Message-----
From: Andrew Marcuse [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 27, 2001 3:15 PM
To: JRun-Talk
Subject: custom 404 error page?


I'm trying to setup a custom 404 error page.  I'm using JRun 3.0
3.02a.11614.

I've added the correct stuff to my web.xml file:
     <error-page>
        <error-code>
            404
        </error-code>
        <location>
            /_err/404.htm
        </location>
    </error-page>
    <error-page>
        <exception-type>
            allaire.jrun.JRunServletException
        </exception-type>
        <location>
            /_err/any.htm
        </location>
    </error-page>


I still get the built-in error page:
404 Not Found
/nopage.htm:

allaire.jrun.JRunServletException: The page /nopage.htm could not be
found.
        at allaire.jrun.jsp.JSPParser.generateXML(../jsp/JSPParser.java:56)
        at allaire.jrun.jsp.JSPServlet.parsePage(../jsp/JSPServlet.java:409)
        at
allaire.jrun.jsp.JSPServlet.createServlet(../jsp/JSPServlet.java:381)
        at allaire.jrun.jsp.JSPServlet.loadPage(../jsp/JSPServlet.java:202)
        at allaire.jrun.jsp.JSPServlet.service(../jsp/JSPServlet.java:169)
        at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1013)
        at
allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:925)
        at
allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunRequestDis
patcher.java:88)
        at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1131)
        at
allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:330)
        at allaire.jrun.http.WebEndpoint.run(../http/WebEndpoint.java:107)
        at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)
        at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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