struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arno Schatz <>
Subject Where to put base code for each request
Date Fri, 18 Mar 2005 10:41:14 GMT

I would like to write code before and after each request is being processed, for example 
  some looging of each request and close any started tranaction which is still open.

Frist I was thinking of subclassing Action and put the code in the overriden execute 
method, but that would restrict the code to the stuff inside actions. But I would like to

  include JSP would also. Do I have to write a RequestProcessor or better go for servlet 


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message