]> source.dussan.org Git - gwtquery.git/commitdiff
adding the webapp folder to devtest module
authorManolo Carrasco <manolo@apache.org>
Mon, 2 May 2011 08:47:01 +0000 (08:47 +0000)
committerManolo Carrasco <manolo@apache.org>
Mon, 2 May 2011 08:47:01 +0000 (08:47 +0000)
devtest/src/main/webapp/WEB-INF/web.xml [new file with mode: 0644]
devtest/src/main/webapp/index.html [new file with mode: 0644]

diff --git a/devtest/src/main/webapp/WEB-INF/web.xml b/devtest/src/main/webapp/WEB-INF/web.xml
new file mode 100644 (file)
index 0000000..e725374
--- /dev/null
@@ -0,0 +1,2 @@
+<web-app>
+</web-app>
diff --git a/devtest/src/main/webapp/index.html b/devtest/src/main/webapp/index.html
new file mode 100644 (file)
index 0000000..6323ff6
--- /dev/null
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+  <head>
+    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+  </head>
+  <body>
+    <script type="text/javascript">
+       // a workaround for capturing and passing gwt.codesvr parameter in development mode
+       function goTo(location) {
+          window.location = location + window.location.search;
+       }
+       goTo("test/test.html");
+    </script>
+  </body>
+</html>