Announcement Announcement Module
Collapse
No announcement yet.
How to define "init-params" for a servlet in a web module header Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to define "init-params" for a servlet in a web module header

    Hello,

    I would like to use Wicket in S2AP so I have to define some "init-params" for wicket's servlet, as in a web.xml.

    I know that Web-ContextParams: foo;param-value:="bar" is equivalent to :
    <context-param>
    <param-name>foo</param-name>
    <param-value>bar</param-value>
    </context-param>

    What is the equivalent of this ?
    <servlet>
    ...
    <init-param>
    <param-name>foo</param-name>
    <param-value>bar</param-value>
    </init-param>
    ...
    </servlet>

    Thanks,
    Nicolas.

  • #2
    How to define "init-params" for a servlet in a web module header

    Hi Nicolas,

    There is currently no support for setting init-params for a Servlet via Web-* manifest headers; however, this will be addressed in the near future. Please track the progress of the JIRA issue created for this here:

    https://issuetracker.springsource.com/browse/PLATFORM-32

    Regards,

    Sam

    Comment


    • #3
      How to define "init-params" for a servlet in a web module header

      Ok, thanks for your response Sam.

      Nicolas.

      Comment

      Working...
      X