struts-user mailing list archives

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

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 
filters?

thanks,
   Arno


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message