Wednesday, June 5, 2013

if we want to make a configuration value available to all portlets , where do we add it?

The scope of a portlet initialization parameter is the portlet for which it’s specified, but if you need to create an initialization parameter that’s accessible to all portlets (and servlets) in a portlet application, you must use a servlet context initialization parameter. You can define servlet context initialization parameters in web.xml using <context-param> elements.

No comments:

Post a Comment