// Instantiate and init our resource injector
String resourceInjectorClassName = config.getInitParameter(
Constants.JSP_RESOURCE_INJECTOR_CONTEXT_ATTRIBUTE);
if (resourceInjectorClassName != null) {
try {
ResourceInjector ri = (ResourceInjector)
Class.forName(resourceInjectorClassName).newInstance();
ri.setContext(this.context);
this.context.setAttribute(
Constants.JSP_RESOURCE_INJECTOR_CONTEXT_ATTRIBUTE, ri);
} catch (Exception e) {
throw new ServletException(e);
}