git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@801601
13f79535-47bb-0310-9956-
ffa450edef68
}
try {
- if (!location[0].endsWith("jar")) {
- // Location points to TLD file
+ if (location[1] == null) {
+ // Location points directly to TLD file
try {
in = getResourceAsStream(location[0]);
if (in == null) {
String[] location = new String[2];
location[0] = uri;
- if (location[0].endsWith("jar")) {
+ if (location[0].endsWith(".jar")) {
URL url = null;
try {
url = ctxt.getResource(location[0]);