public class WebAppConfiguration extends Object implements org.springframework.web.WebApplicationInitializer
| Modifier and Type | Field and Description |
|---|---|
static String |
DEBUG_PARAM
Name of the debug mode parameter.
|
| Constructor and Description |
|---|
WebAppConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isDebugEnabled()
Returns true if debug mode is enabled.
|
void |
onStartup(javax.servlet.ServletContext servletContext) |
public static final String DEBUG_PARAM
isDebugEnabled()public static boolean isDebugEnabled()
The debug mode setting is a Boolean parameter, "fujion.debug", that may be specified either as a system property (which takes precedence) or as a context parameter. The latter is specified in the web.xml file; for example:
<context-param>
<param-name>fujion.debug</param-name>
<param-value>true</param-value>
</context-param>
public void onStartup(javax.servlet.ServletContext servletContext)
throws javax.servlet.ServletException
onStartup in interface org.springframework.web.WebApplicationInitializerjavax.servlet.ServletExceptionCopyright © 2018 Fujion Framework. All rights reserved.