You have to write the response before returning from processRole. For example, you can set response status to some error so that default associated error-page is displayed :
response.sendError(HttpServletResponse.SC_FORBIDDEN, getInternal().getMessage("notAuthorized", mapping.getPath())); Nico. ----- Original Message ----- From: "Paul-J Woodward" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, January 05, 2004 1:05 PM Subject: Custom page for roles rejection > Dear All, > > I have extended the RequestProcessor.processRoles() function. When it returns false > (i.e. user rejected) I get a blank screen. How/where do I set a custom page or action to perform? > > Thanks, Paul > ------------------------------------------------------------ > Global Equity Derivatives Technology > Deutsche Bank [/] > Office +44 (0)20 754 55458 > Mobile +44 (0)7736 299483 > Fax +44 (0)20 7547 2752 > ------------------------------------------------------------ > > > -- > > This e-mail may contain confidential and/or privileged information. If you are not > the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. > > > > --------------------------------------------------------------------- > 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]