redirect after login using form-based-auth

Discussions

XML & Web services: redirect after login using form-based-auth

  1. redirect after login using form-based-auth (1 messages)

    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?
    Thanks!
  2. sorry, wrong forum.....