Hello *,
I'm having troubles with WebApplication.getInitParameter() method. In the
init() method of MyApp I call
getInitParameter("myPar");
It returns null.
in web.xml I have
<filter>
<filter-name>wicket.MyApp</filter-name>
<filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-
class>
<init-param>
<param-name>applicationClassName</param-name>
<param-value>example.MyApp</param-value>
</init-param>
<init-param>
<param-name>myPar</param-name>
<param-value>myValue</param-value>
</init-param>
[...]
Why getInitParameter returns null instead of "myValue"?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]