struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Demetz <>
Subject Re: Call a function after invocation but before jsp rendering
Date Wed, 15 Feb 2012 20:58:09 GMT
perfect, didn't know that interceptor..!
thank you!!

Am 15.02.2012 21:54, schrieb Dave Newton:
> On Wed, Feb 15, 2012 at 3:52 PM, Markus Demetz wrote:
>> to be concrete, I want to call a createTitle() method which is common for
>> all my actions (extending BaseAction with a default implementation of
>> createTitle()), but when I use an Interceptor for that and call it after
>> the action invocation, the JSP has already been rendered. So my question
>> is, at which point is the JSP rendered? can I do something between?
> Yes, your interceptor can use a PreResultListener to wedge itself
> in-between the invocation and render.
> Dave

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

View raw message