ca.bc.gov.webade.developer.util
Class ServletUtils

java.lang.Object
  extended byca.bc.gov.webade.developer.util.ServletUtils

public final class ServletUtils
extends java.lang.Object

Helper class for dealing with the Servlet Context.

Author:
Vivid Solutions Inc

Constructor Summary
ServletUtils()
           
 
Method Summary
static java.lang.String getProperty(javax.servlet.ServletContext context, java.lang.String property)
          Check first in servlet context them in system properties for property value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletUtils

public ServletUtils()
Method Detail

getProperty

public static java.lang.String getProperty(javax.servlet.ServletContext context,
                                           java.lang.String property)
Check first in servlet context them in system properties for property value.

Parameters:
context - The servlet context.
property - The property we are looking for.
Returns:
The value of the property or null if not found.