struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daoyue Ming" <>
Subject how to get config info from portlet.xml in struts2 action
Date Tue, 06 Jan 2009 10:20:50 GMT
I have a problem to get the configuration inside portlet.xml in
action, what I do is inside the portlet.xml, I add some config like
the way struts2 did for defaultViewAction.  Then in my struts2 action,
I implements PortletContextAware, and try to get the config by using
portletContext.getInitParameter  method.  However what is returnted
from getInitParameter is the configuration in web.xml, not

Is there any valid way to get it?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message