Why does config.getInitParameter(String) always return null in the following code example?
config.getInitParameter(String)
null
public void init(ServletConfig config) t
Make sure you have really deployed the proper web.xml. Also check with config.getInitParameterNames() what parameters have been found.
config.getInitParameterNames()