hey buddy,,
i have just subscribed to the mailing list.
can you tell me how can i ask question as you have asked.
thank you

On Fri, Feb 17, 2012 at 8:14 AM, Joson Mandaro <joson.p...@gmail.com> wrote:

> Hi all,
> I've written a new Interceptor. It requires a Map parameter named "parser".
> private Map<String, String> parser;
> // Getter and Setter
> public void setParser(Map<String, String> parser) ...
>
> How to parse a Map parameter to it?
> Here is what I tried:
> <interceptor-ref name="myInterceptorStack">
>    <param name="myInterceptor.parser[2]">ABC</param>
>    <param name="myInterceptor.parser[8]">EDF</param>
> </interceptor>
>
> But then "this.parser" was null in intercept().
>
> Thanks in advanced.
>

Reply via email to