struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nils-Helge Garli Hegvik <nil...@gmail.com>
Subject Re: how to re-init / update parameter of an interceptor during runtime?
Date Fri, 03 Apr 2009 05:46:34 GMT
Why do you need to do that?

Nils-H

On Fri, Apr 3, 2009 at 5:05 AM, Joe Lam <joe.lam@moni-media.net> wrote:
>
> I got this in action mapping
> <interceptor-ref name="MyInterceptor">
>        value01
> </interceptor-ref>
>
> that parameter actually is an instance property of that interceptor
> instance.
>
> private String param01;
> public void setParam01(String value){
>        param01= value;
> }
>
> I wonder if it is possible to call again the setter method via API during
> runtime to change the interceptor behavior.
>
> thanks.
>
> Joe
> --
> View this message in context: http://www.nabble.com/how-to-re-init---update-parameter-of-an-interceptor-during-runtime--tp22861150p22861150.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

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


Mime
View raw message