You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Arno Schatz <ga...@gmx.net> on 2005/03/18 11:41:14 UTC
Where to put base code for each request
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