The web application will dispatch HTTP requests to the matching resource method on the matching resource class. @author Paul.Sandoz@Sun.Com
Application settings are given defaults by the WebApplication() constructor and internalInit method, such as error page classes appropriate for HTML. WebApplication subclasses can override these values and/or modify other application settings by overriding the init() method and then by calling getXXXSettings() to retrieve an interface to a mutable Settings object. Do not do this in the constructor itself because the defaults will then override your settings.
If you want to use a filter specific configuration, e.g. using init parameters from the {@link javax.servlet.FilterConfig} object, you should override the init() method. For example:
public void init() { String webXMLParameter = getInitParameter("myWebXMLParameter"); URL schedulersConfig = getServletContext().getResource("/WEB-INF/schedulers.xml"); ...@see WicketFilter @see org.apache.wicket.settings.IApplicationSettings @see org.apache.wicket.settings.IDebugSettings @see org.apache.wicket.settings.IExceptionSettings @see org.apache.wicket.settings.IMarkupSettings @see org.apache.wicket.settings.IPageSettings @see org.apache.wicket.settings.IRequestCycleSettings @see org.apache.wicket.settings.IResourceSettings @see org.apache.wicket.settings.ISecuritySettings @see javax.servlet.Filter @see javax.servlet.FilterConfig @see javax.servlet.ServletContext @author Jonathan Locke @author Chris Turner @author Johan Compagner @author Eelco Hillenius @author Juergen Donnerstag
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|