some notes, code is coming later
authorrk <rk>
Fri, 15 Feb 2002 19:33:02 +0000 (19:33 +0000)
committerrk <rk>
Fri, 15 Feb 2002 19:33:02 +0000 (19:33 +0000)
source/Mir.java

index a09d7cd..88ab04e 100755 (executable)
@@ -64,6 +64,9 @@ public class Mir extends AbstractServlet
       setLanguage(session,getAcceptLanguage(req));
     }
 
+    /** @todo for cleanup and readability this should be moved to
+     *  method loginIfNecessary() */
+
     // Authentifizierung
     if (moduleName!=null && moduleName.equals("login")) {
       String user=req.getParameter("login");
@@ -151,6 +154,13 @@ public class Mir extends AbstractServlet
     }
 
     //From now on regular dispatching...
+
+    /** @todo i do already have the code for a ServletModuleInstanceMap
+     *  i will insert it soon. the code is 100times faster than doing
+     *  a classForName-lookup with every execution. will be moved to
+     *  getServletModuleForName   //rk
+     */
+
     try {
       try {
         theServletModule = Class.forName("mircoders.servlet.ServletModule" + moduleName);