We have multiple web applications running (therefore multiple .war files) that share a single .jar file of common business logic and database call code.
In order for the .jar code to know anything about the .war code (for logging, etc) I wrote a Session Affinity Manager where the .war code can call SAM.getSAM().setSession(HttpSession session) and the .jar code can call SAM.getSAM().getSession() and get to my session object through a ThreadLocal variable. Anyway, in my application I need to call the setSession() piece each time a request is to be sent to the web server. Now, I can add this code to each and every .jsp and to every Action class, but I was wondering if there was any other place that I could do this. What I need to call, specifically, for each request (thread) is the following: HttpSession session = request.getSession(false); SAM.getSAM().setSession(session); Does anyone know a place in Struts where I can do this? I initially thought of the processActionPerform() function inside the RequestProcessor class, but would I have to re-write all of the existing code for this function for each of my web applications? Thanks. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

