Yesterday I can't understand jboss portlet container very well, so I didn'i konw
the relationship between javax.portlet.ActionRequest and
org.jboss.portlet.JBossActionRequest, but now I get it.
public class org.jboss.portlet.JBossActionRequest extends
org.jboss.portal.portlet.impl.jsr168.api.ActionRequestImpl {
| }
and implements javax.portlet.ActionRequest interface.
So we can get current user in struts2 like that:
((org.jboss.portlet.JBossActionRequest) PortletActionContext
| .getActionRequest()).getUser();
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145330#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...