From 2bfeca0498c879c11f11a54a22ad87cccdaa78c2 Mon Sep 17 00:00:00 2001 From: Jani Laakso Date: Tue, 4 Dec 2007 18:13:55 +0000 Subject: Fixed #943 (Creating new applications without altering web.xml) How to use * Try http://localhost:8080/myContext/run/com.itmill.toolkit.demo.Calc web.xml contains run/* servlet with applicationRunner=true parameter. This should not affect Toolkit in any way if applicationRunner is not defined. Currently it is defined only with run/* This needs review. Reason why I did this is to * skip one step more for newbies * "how to start" flash demo is simpler (included XML is enough for any new application) Side-effects * UIDL request have part of URI path after their UIDL request, see firebug svn changeset:3160/svn branch:trunk --- WebContent/WEB-INF/web.xml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'WebContent') diff --git a/WebContent/WEB-INF/web.xml b/WebContent/WEB-INF/web.xml index d2efa61f31..b2bbb36184 100644 --- a/WebContent/WEB-INF/web.xml +++ b/WebContent/WEB-INF/web.xml @@ -11,6 +11,16 @@ IT Mill Toolkit examples + + ITMillToolkitApplicationRunner + com.itmill.toolkit.terminal.gwt.server.ApplicationServlet + + applicationRunner + true + + + + DemoTestBench com.itmill.toolkit.terminal.gwt.server.ApplicationServlet @@ -340,7 +350,12 @@ application com.itmill.toolkit.demo.WindowedDemos - + + + + ITMillToolkitApplicationRunner + /run/* + DemoTestBench -- cgit v1.2.3