Re: Call a function after invocation but before jsp rendering

2012-02-26 Thread Jeffrey Black
FWIW, the AnnotationWorklowInterceptor along with the @BeforeResult may be utilized. struts.apache.org/2.x/docs/annotationworkflowinterceptor.html On Feb 15, 2012, at 2:58 PM, Markus Demetz wrote: > perfect, didn't know that interceptor..! > thank you!! > > Am 15.02.2012 21:54, schrieb Dave

Re: Call a function after invocation but before jsp rendering

2012-02-15 Thread Markus Demetz
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 c

Re: Call a function after invocation but before jsp rendering

2012-02-15 Thread 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 invocati

Call a function after invocation but before jsp rendering

2012-02-15 Thread Markus Demetz
hi there, my application uses struts2 (latest version), siles with JSP and hibernate. what I am trying to do is to call a method after the action has been executed, but before the JSP is getting rendered. to be concrete, I want to call a createTitle() method which is common for all my actions