Author: siren Date: Mon Apr 17 08:21:07 2006 New Revision: 394694 URL: http://svn.apache.org/viewcvs?rev=394694&view=rev Log: fixed bug in initialization, conf was not initialized
Modified: lucene/nutch/trunk/contrib/web2/src/main/java/org/apache/nutch/webapp/servlet/OpenSearchServlet.java Modified: lucene/nutch/trunk/contrib/web2/src/main/java/org/apache/nutch/webapp/servlet/OpenSearchServlet.java URL: http://svn.apache.org/viewcvs/lucene/nutch/trunk/contrib/web2/src/main/java/org/apache/nutch/webapp/servlet/OpenSearchServlet.java?rev=394694&r1=394693&r2=394694&view=diff ============================================================================== --- lucene/nutch/trunk/contrib/web2/src/main/java/org/apache/nutch/webapp/servlet/OpenSearchServlet.java (original) +++ lucene/nutch/trunk/contrib/web2/src/main/java/org/apache/nutch/webapp/servlet/OpenSearchServlet.java Mon Apr 17 08:21:07 2006 @@ -74,6 +74,7 @@ ServiceLocator locator = ServletContextServiceLocator.getInstance(conf .getServletContext()); bean = locator.getNutchBean(); + this.conf = locator.getConfiguration(); } public void doGet(HttpServletRequest request, HttpServletResponse response) ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nutch-cvs mailing list Nutch-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nutch-cvs