Hi,

I have a interceptor, which validates that the user is authenticated. It
does the authentication using a third party library and retrieves the user
id using the third party library.

I have a POJO action with propery userId. I want to set this property in the
interceptor, is this possible.

I have tried the following, but none of them see to work.


ActionContext ac = actionInvocation.getInvocationContext();
ac.put("userId", userId );
ac.getValueStack().setValue("userId", userId );
ac.getValueStack().push(userId);

Thanks,
Joe.

Reply via email to