Results 1 to 3 of 3

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

  1. #1
    Join Date
    Oct 2008
    Posts
    0

    Default 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. #2
    Join Date
    Jan 2006
    Location
    Zürich, Switzerland
    Posts
    423

    Default 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

  3. #3
    Join Date
    Oct 2008
    Posts
    0

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

    Ok, thanks for your response Sam.

    Nicolas.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •