In order to have the user available in several action objects, you could
write an interceptor, this is the way struts2 handles the so called cross
cutting concerns (it would be Aspect Oriented Programming in Spring)
Here's the class:
package com.tipuana.csa.interceptor;
import java.lang.reflect.
Thanks Lukasz, I will give a try.
From: Lukasz Lenart
To: Struts Users Mailing List
Sent: Friday, March 1, 2013 7:01 AM
Subject: Re: How to pass the current logged in username to struts2 action from
spring security 3
2013/3/1 Omar Ngarigari :
> Thanks Luk
Hi
I'm using Struts2 jquery Grid plugin. My problem is pagination is not
working in the grid. I have selected all the required attributes.
Can you please tell me what may be the problem?
Thanks in advance
Arun Bansal
This e-mail and/or attachments are confidential and may also be legally
privil
2013/3/1 Omar Ngarigari :
> Thanks Luksz for replying, but what i want is to use the username in Struts 2
> action class and display in struts2 jsp tags
Use that code to read username in your action and then show it using S2 tags
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
--
Thanks Luksz for replying, but what i want is to use the username in Struts 2
action class and display in struts2 jsp tags
Sent from my iPhone
On Mar 1, 2013, at 1:09 AM, Lukasz Lenart wrote:
> 2013/3/1 Omar Ngarigari :
>> Hello,
>>
>> Thanks in advance. I have an application that uses Spring
5 matches
Mail list logo