Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

Trivial commit. NUTCH-471, the nutch bean instance is now initialized through a ServletContextListener. Added comment to explain.

Dennis Kubes091c0f4aa71b
diff --git a/src/web/jsp/search.jsp b/src/web/jsp/search.jsp
index b4f25829f..1bedd20da 100644
--- a/src/web/jsp/search.jsp
+++ b/src/web/jsp/search.jsp
@@ -63,6 +63,8 @@
--%>
<%
+ // The Nutch bean instance is initialized through a ServletContextListener
+ // that is setup in the web.xml file
NutchBean bean = NutchBean.get(application, nutchConf);
// set the character encoding to use when interpreting request values
request.setCharacterEncoding("UTF-8");