@Override
public void init(PortletConfig config) throws PortletException {
super.init(config);
+ applicationProperties = new Properties();
// Read default parameters from the context
final PortletContext context = config.getPortletContext();
}
// Override with application settings from portlet.xml
- applicationProperties = new Properties();
for (final Enumeration<String> e = config.getInitParameterNames(); e
.hasMoreElements();) {
final String name = e.nextElement();
public void init(javax.servlet.ServletConfig servletConfig)
throws javax.servlet.ServletException {
super.init(servletConfig);
+ applicationProperties = new Properties();
// Read default parameters from server.xml
final ServletContext context = servletConfig.getServletContext();
}
// Override with application config from web.xml
- applicationProperties = new Properties();
for (final Enumeration<String> e = servletConfig
.getInitParameterNames(); e.hasMoreElements();) {
final String name = e.nextElement();