]> source.dussan.org Git - vaadin-framework.git/commitdiff
Application runner was not adding a trailing slash to the applicationUrl, and thus...
authorMarc Englund <marc.englund@itmill.com>
Tue, 10 Jun 2008 07:25:04 +0000 (07:25 +0000)
committerMarc Englund <marc.englund@itmill.com>
Tue, 10 Jun 2008 07:25:04 +0000 (07:25 +0000)
svn changeset:4823/svn branch:trunk

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

index 36d7550b72983b24059e541e8e526533abc1969a..f916f09a0a4194ff0bbb05bf2bc39dd47112fb25 100644 (file)
@@ -1311,7 +1311,7 @@ public class ApplicationServlet extends HttpServlet {
             String servletPath = "";
             if (isApplicationRunnerServlet) {
                 final String[] URIparts = getApplicationRunnerURIs(request);
-                servletPath = URIparts[1];
+                servletPath = URIparts[1] + "/";
             } else {
                 servletPath = request.getContextPath()
                         + request.getServletPath();
@@ -1364,7 +1364,7 @@ public class ApplicationServlet extends HttpServlet {
             final String[] URIparts = getApplicationRunnerURIs(request);
             final String applicationClassname = URIparts[4];
             applicationUrl = new URL(getApplicationUrl(request).toString()
-                    + applicationClassname);
+                    + applicationClassname + "/");
             try {
                 applicationClass = classLoader.loadClass(applicationClassname);
             } catch (final ClassNotFoundException e) {