Nevermind.. i found it.. Just like in jetty.

The thing is, in the web.xml doc, no custom errors are specified by
default, which is why I couldn't find anything.

You just need to add the following text after the welcome doc list.

at the very bottom of web.xml (found in c:\tomcat\conf)


<welcome-file-list>
  <welcome-file>index.cfm</welcome-file>
  <welcome-file>index.html</welcome-file>
  <welcome-file>index.htm</welcome-file>
  <welcome-file>index.jsp</welcome-file>
</welcome-file-list>

<error-page>
 <error-code>404</error-code>
 <location>/404redirect.cfm</location>
</error-page>

</web-app>

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 online manual: http://www.openbluedragon.org/manual/

 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to