throwable maybe? Like the following:
<error-page> <exception-type>java.lang.Throwable</exception-type> <location>/chngctrl/error_server.htm</location> </error-page>--> <error-page> <error-code>404</error-code> <location>/chngctrl/404error.jsp</location> </error-page> -----Original Message----- From: EricKnight [mailto:[EMAIL PROTECTED] Sent: Saturday, July 07, 2007 6:12 PM To: users@tomcat.apache.org Subject: Configure customized deny page for tomcat JDBCRealm authorization Hi, Tow users, user1 and user2, are setup for tomcat. User1 can visit page1 and page2, but user2 can see only page2. Using the form based authentication and authorization, how to configure the denied page? It is not the error page. If the user types in wrong username/password, tomcat will display the error page. But if the user types in a valid username/password but without the permission to visit a page, tomcat will display a not-nice page for the denied page. Does anyone know how to configure a customized denied page? Thanks, Eric. -- View this message in context: http://www.nabble.com/Configure-customized-deny-page-for-tomcat-JDBCRealm-authorization-tf4042164.html#a11483101 Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]