web.xml has a mapping from the 403 error code to 403.jsp. We're not doing anything special to make this work.
Matt On 7/10/07, Haotian Sun <[EMAIL PROTECTED]> wrote:
Hi Matt, In the security.xml of Appfuse, I do not see you injection of accessDefinedHandler for exceptionTranslationFilter. Can you please tell me how you made to redirect to the 403.jsp? Thanks, Haotian Matt Raible wrote: > Can you provide steps to reproduce this in a new AppFuse application? > > Matt > > On 7/10/07, Haotian Sun <[EMAIL PROTECTED]> wrote: >> Hi guys, >> >> Maybe it's the wrong place to raise the Acegi question here, but I still >> wonder if any of you have the experience to deal with the HTTP 404 >> problem caused by AccessDeniedHandlerImpl in Acegi. The case is like >> this: I tried to log into a secured page with the wrong role and I >> should be sent to the "Access Denied Page". However I got a Http Error >> 404 saying that the URI I requested is not found. When I type in >> the URL for the "AccessDeniedPage" manually, it works fine. >> >> P.S. I inject the errorPage property of AccessDeniedHandlerImpl when my >> webapp starts up from the security.xml >> >> Best, >> >> Haotian >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
