hi ,
i want to obtain the current user object from my prtlet based on struts2
portlet,but I can only get javax.portlet.PortletContext use
PortletActionContext.getPortletContext()
in referenceGuide of Jboss Portal, it says
anonymous wrote : The org.jboss.portal.api.PortalRuntimeContext gives access
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.Ac
when call the portal mbean
UserModule mbean = (UserModule) MBeanProxyExt
| .create(UserModule.class, ObjectNameFactory
| .create("portal:service=Module,type=User"));
| mbean.getUserCount();
the application throws exception as follows,
20:3
My environment:
jboss portal 2.6.4 + JBOSS AS 4.2.1
MYSQL 5.0
Struts2 + spring + hibernate
when I request an ajax action ,the exception happens.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149448#4149448
Reply to the post :
http://www.jboss.com/index.html