You have two options: 1) Do not use roles. It is coded with mere functionality to return a 403 if the role is not there. Instead check the role explicity in the action and do what you want.
2) Use web.xml to handle the error codes. You can configure your application to take action on certain error codes: <error-page> <error-code>403</error-code> <location>/login.html</location> </error-page> Paul --- Marcio Ghiraldelli <[EMAIL PROTECTED]> wrote: > Hello, > > the atribute "roles" in an actionMapping configuration works perfectly, > deniyng access to > unauthorized users. Is there an way to redirect to a login page, instead > showing a forbidden > error page, like I can do in the web.xml, where a login and an error page can > be configured? > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]