public URL getResource(String path)
throws MalformedURLException {
- if (path == null)
- throw new MalformedURLException(sm.getString("applicationContext.requestDispatcher.iae", path));
-
- if (!path.startsWith("/") && GET_RESOURCE_REQUIRE_SLASH)
- throw new MalformedURLException(sm.getString("applicationContext.requestDispatcher.iae", path));
-
+ if (path == null ||
+ !path.startsWith("/") && GET_RESOURCE_REQUIRE_SLASH)
+ throw new MalformedURLException(sm.getString(
+ "applicationContext.requestDispatcher.iae", path));
String normPath = RequestUtil.normalize(path);
if (normPath == null)
SecurityUtil.doAsPrivilege
("doFilter", filter, classType, args, principal);
- args = null;
} else {
filter.doFilter(request, response, this);
}
classTypeUsedInService,
args,
principal);
- args = null;
} else {
servlet.service(request, response);
}
SecurityUtil.doAsPrivilege("doFilterEvent", filter,
cometClassType, args, principal);
- args = null;
} else {
filter.doFilterEvent(event, this);
}
classTypeUsedInEvent,
args,
principal);
- args = null;
} else {
((CometProcessor) servlet).event(event);
}
/**
* The Context with which we are associated.
*/
- private Context context = null;
+ private transient Context context = null;
/**
import org.apache.catalina.Session;
import org.apache.catalina.util.Enumerator;
import org.apache.catalina.util.RequestUtil;
-import org.apache.tomcat.util.res.StringManager;
/**
RequestDispatcher.FORWARD_QUERY_STRING };
- /**
- * The string manager for this package.
- */
- protected static final StringManager sm =
- StringManager.getManager(Constants.Package);
-
-
// ----------------------------------------------------------- Constructors