On Wed, 2004-12-29 at 21:33, alis asma alias wrote:
> When there is an error in our web application, Tomcat
> will produce and error page that list down all the
> Exception stack trace and also THe version of the
> Apache Tomcat. To avoid displaying the default error
> page and to customize the error page, where should we
> configure it? 
 
In your app's web.xml file, just after the welcome-file list.
Example:

  <error-page>
    <error-code>404</error-code>
    <location>/404-error.jsp</location>
  </error-page>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to