Hi everyone, I just played around a little bit with Struts 1.3.5 and did some nice tests with the new ComposableRequestProcessor, which is definately an improvement against the usual RequestProcessor! Compliments to the developers!
But now I came to a question: I created my own AuthorizeAction, which extends the AbstractAuthorizeAction and inserted it successfully in the chain through my own chain-config.xml. My current implementation is close to the default struts-implementation, so the "UnauthorizedActionException" is thrown, if the user is not allowed to access this action. But in this case the tomcat shows an error 500 with the given error-messages. What I´d like better is, that I create a new ActionMessage telling the user that he is not allowed to access this page, add this message to the error-messages in the request-scope and redirect him back to the page where he came from. This way he only gets a message, but is not completely thrown to an error page. What would the way to do this with the ComposableRequestProcessor? Can anyone give me an example or an idea, how to do this? Thank you very much Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]