Not Possible To Set Context Parameters Via The Whiteboard

Description

The thread on this topic is here:

https://groups.google.com/forum/#!topic/ops4j/CnPpgsTT5Js

To summarize:

(1) If a HttpContextMapping service is registered, the parameters that
are returned by the getParameters() mapping become the
servlet context init parameters.
(2) If a Servlet service is registered, the service parameters starting
with the correct prefix ("init." by default) become the Servlet init
parameters).

It does not appear possible currently to set the Servlet context parameters. In
ExtenderConstants.java there is a field:

/**

  • The http context parameters prefix.
    */
    final String PROPERTY_HTTP_CONTEXT_PARAM_PREFIX = "httpContext.param.";

but it does appear to be set anywhere.

Environment

None

Assignee

G

Reporter

G

Labels

None

Components

Fix versions

Affects versions

Priority

Minor
Configure