Hello, I'm writing an application using jboss-tomcat+struts. I've enabled form-based-authentication
I need to set some objects in every user session after the user logs in to the application. The problem is that when user logs in with this authentication type, the server forwards to the resource the user has originally requested. I want to redirect to a specific resource.
I've solved this by checking the existence of some object in the user session in the execute method of a base action, but this executes on every request.
Is there a way to follow control to a specific resource?