summaryrefslogtreecommitdiff
path: root/src/main/webapp
diff options
context:
space:
mode:
authoryvesf <yvesf-git@xapek.org>2011-02-24 22:45:14 +0100
committeryvesf <yvesf-git@xapek.org>2011-02-24 22:45:14 +0100
commit6dc7723c738c8307369f2fcfd8feb0fd2ea703c1 (patch)
tree33faebb05fbb8793f465ef976a7d22995985e5d9 /src/main/webapp
parent962ddff447068e759b37841536a51e8973691097 (diff)
downloaddhbw-calendar-6dc7723c738c8307369f2fcfd8feb0fd2ea703c1.tar.gz
dhbw-calendar-6dc7723c738c8307369f2fcfd8feb0fd2ea703c1.zip
file-copy from previous development-repository
Diffstat (limited to 'src/main/webapp')
-rw-r--r--src/main/webapp/WEB-INF/web.xml34
-rw-r--r--src/main/webapp/index.jsp8
2 files changed, 42 insertions, 0 deletions
diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 0000000..1bed2f5
--- /dev/null
+++ b/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
+ version="2.5">
+ <display-name>Archetype Created Web Application</display-name>
+
+ <servlet>
+ <servlet-name>ics-connector</servlet-name>
+ <servlet-class>de.dhbw.horb.calendar.ICSServlet</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>ics-connector</servlet-name>
+ <url-pattern>/ics</url-pattern>
+ </servlet-mapping>
+
+ <!-- GUI -->
+ <servlet>
+ <servlet-name>vaadin</servlet-name>
+ <servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
+ <init-param>
+ <description>Vaadin application class to start</description>
+ <param-name>application</param-name>
+ <param-value>de.dhbw.horb.calendar.ui.MyApplication</param-value>
+ </init-param>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>vaadin</servlet-name>
+ <url-pattern>/ui/*</url-pattern>
+ </servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>vaadin</servlet-name>
+ <url-pattern>/VAADIN/*</url-pattern>
+ </servlet-mapping>
+</web-app>
diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp
new file mode 100644
index 0000000..0a528b3
--- /dev/null
+++ b/src/main/webapp/index.jsp
@@ -0,0 +1,8 @@
+<html>
+<body>
+<h2>Hello World!</h2>
+<a href="ui">User-Interface</a>
+<br>
+<a href="ics">iCalendar Link</a>
+</body>
+</html>