From cead414104d99708e7a66b31c7dac76124f8b16c Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Thu, 5 Aug 2010 10:00:20 +0200 Subject: [PATCH] Rename variable. --- src/fr/devinsy/kiss4web/SimpleServletDispatcher.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100755 => 100644 src/fr/devinsy/kiss4web/SimpleServletDispatcher.java diff --git a/src/fr/devinsy/kiss4web/SimpleServletDispatcher.java b/src/fr/devinsy/kiss4web/SimpleServletDispatcher.java old mode 100755 new mode 100644 index 98b4635..81c724d --- a/src/fr/devinsy/kiss4web/SimpleServletDispatcher.java +++ b/src/fr/devinsy/kiss4web/SimpleServletDispatcher.java @@ -22,7 +22,7 @@ public class SimpleServletDispatcher extends HttpServlet { private static final long serialVersionUID = -3471226305721330069L; static protected org.apache.log4j.Logger logger = org.apache.log4j.Logger.getLogger (ServletDispatcher.class); - protected String pathInfoClassNamePrefix; + protected String webclassesRootPath; /** @@ -31,7 +31,7 @@ public class SimpleServletDispatcher extends HttpServlet public void init () throws ServletException { super.init(); - this.pathInfoClassNamePrefix = getInitParameter("pathInfoClassNamePrefix"); + this.webclassesRootPath = getInitParameter("webclassesRootPath"); // Set logger. String logFilepathname = getInitParameter("log4j-init-file"); @@ -219,7 +219,7 @@ public class SimpleServletDispatcher extends HttpServlet path = request.getPathInfo(); } - String className = pathInfoToClassName (path, this.pathInfoClassNamePrefix); + String className = pathInfoToClassName (path, this.webclassesRootPath); logger.info ("className=" + className); HttpServlet servlet = instanciateServlet (className);