Allan Kamau wrote:
> 
> How do I configure an error page in Tomcat (TC4x)
> across all contexts and within each context.
> What changes are expected in the web.xml.
>

 Take a look at conf/web.xml. Entries made there will
apply to all contexts. The format is identical to the
context-specific WEB-INF/web.xml files. Error page
declarations look like:

 <error-page>
    <exception-type> MyException </exception-type>
    <location> /myexception.html </location>
  </error-page>

 the servlet spec[1] has a complete description in
section SRV.9.9.2.


[1] http://java.sun.com/products/servlet/download.html
 

-- 
Christopher St. John [EMAIL PROTECTED]
DistribuTopia http://www.distributopia.com

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to