]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fix for resource not found exception.
authorJani Laakso <jani.laakso@itmill.com>
Wed, 31 Oct 2007 18:12:00 +0000 (18:12 +0000)
committerJani Laakso <jani.laakso@itmill.com>
Wed, 31 Oct 2007 18:12:00 +0000 (18:12 +0000)
svn changeset:2647/svn branch:trunk

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

index 2fffb1161d6149dd4326a158b16a6c2d78419b9a..ab8547d064320682f0a1eb14864c58109b3edaa0 100644 (file)
@@ -424,6 +424,9 @@ public class ApplicationServlet extends HttpServlet {
                        try {
                                is = this.classLoader.getResourceAsStream(filename);
                        } catch (Exception e) {
+                               e.printStackTrace();
+                       }
+                       if (is == null) {
                                // cannot serve requested file
                                Log
                                                .warn("Requested resource ["