]> source.dussan.org Git - vaadin-framework.git/commitdiff
Added stacktrace if getBaseResource fails. Doc fixes.
authorJani Laakso <jani.laakso@itmill.com>
Wed, 6 Feb 2008 10:06:48 +0000 (10:06 +0000)
committerJani Laakso <jani.laakso@itmill.com>
Wed, 6 Feb 2008 10:06:48 +0000 (10:06 +0000)
svn changeset:3715/svn branch:trunk

src/com/itmill/toolkit/terminal/gwt/server/ApplicationServlet.java

index 9e33d478251fca2c3a606f8ada74579076782bf4..05b21b70a4f8897adb212cf7d1ede4ff7fd83971 100644 (file)
@@ -1396,18 +1396,16 @@ public class ApplicationServlet extends HttpServlet {
         CommunicationManager mgr = (CommunicationManager) applicationToAjaxAppMgrMap
                 .get(application);
 
-        // This application is going from Web to AJAX mode, create new manager
         if (mgr == null) {
             // Creates new manager
             mgr = new CommunicationManager(application, this);
             applicationToAjaxAppMgrMap.put(application, mgr);
         }
-
         return mgr;
     }
 
     /**
-     * Gets resource path using different implementations. Required fo
+     * Gets resource path using different implementations. Required to
      * supporting different servlet container implementations (application
      * servers).
      * 
@@ -1427,7 +1425,7 @@ public class ApplicationServlet extends HttpServlet {
                 final URL url = servletContext.getResource(path);
                 resultPath = url.getFile();
             } catch (final Exception e) {
-                // ignored
+                e.printStackTrace();
             }
         }
         return resultPath;