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);