Apache Nutch is an extensible and scalable web crawler
Fix JSP pages broken by NutchConf change.
Douglass Cutting2d4b2e68cc82
diff --git a/src/web/jsp/refine-query-init.jsp b/src/web/jsp/refine-query-init.jspindex 5040387b7..2ac7a5165 100644--- a/src/web/jsp/refine-query-init.jsp+++ b/src/web/jsp/refine-query-init.jsp@@ -14,7 +14,7 @@ private static org.apache.nutch.ontology.Ontology ontology;static {try {- String urls = org.apache.nutch.util.NutchConf.get("extension.ontology.urls");+ String urls = org.apache.nutch.util.NutchConf.get().get("extension.ontology.urls");ontology = org.apache.nutch.ontology.OntologyFactory.getOntology();if (urls==null || urls.trim().equals("")) {// ignored silientlydiff --git a/src/web/jsp/search.jsp b/src/web/jsp/search.jspindex 9329c555f..7741aaa32 100644--- a/src/web/jsp/search.jsp+++ b/src/web/jsp/search.jsp@@ -24,7 +24,7 @@* and clustering is on. By default, 100. Configurable via nutch-conf.xml.*/private final static int HITS_TO_CLUSTER =- NutchConf.getInt("extension.clustering.hits-to-cluster", 100);+ NutchConf.get().getInt("extension.clustering.hits-to-cluster", 100);/*** An instance of the clustering extension, if available.