Rename variable.

This commit is contained in:
Christian P. MOMON 2010-08-05 10:00:20 +02:00
parent 1b958cba34
commit cead414104

6
src/fr/devinsy/kiss4web/SimpleServletDispatcher.java Executable file → Normal file
View file

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