Dear all,

This thread was really helpful to me. i could accomplish it using
interceptors as you guys mentioned. Thanks for the solution and the links.

Lots of thanks
Emil


On Wed, Jan 20, 2010 at 9:47 PM, Dale Newfield <d...@newfield.org> wrote:

> emil thushanga wrote:
>
>> Thanks for the solutions. i prefer to do it in interceptors way. if
>> any resources available for me to grab the thing please let me know. any
>> way thanks a lot.
>>
>
> A good place to start:
> http://struts.apache.org/2.1.8.1/docs/interceptors.html
> and
> http://struts.apache.org/2.1.8.1/docs/writing-interceptors.html
>
> Examples that should help:
>
> This one accesses the action mapping:
>
> http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/ActionMappingParametersInteceptor.java
>
> This one accesses the session:
>
> http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/MessageStoreInterceptor.java
>
>
> -Dale
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


-- 
Emil Thushanga

Reply via email to