You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by cm...@apache.org on 2010/11/22 14:53:51 UTC

svn commit: r1037719 - in /servicemix/smx4/features/trunk/examples/web/src/main/webapp: ./ WEB-INF/ WEB-INF/web.xml index.jsp

Author: cmoulliard
Date: Mon Nov 22 13:53:50 2010
New Revision: 1037719

URL: http://svn.apache.org/viewvc?rev=1037719&view=rev
Log:
Add missing web folder + pages

Added:
    servicemix/smx4/features/trunk/examples/web/src/main/webapp/
    servicemix/smx4/features/trunk/examples/web/src/main/webapp/WEB-INF/
    servicemix/smx4/features/trunk/examples/web/src/main/webapp/WEB-INF/web.xml
    servicemix/smx4/features/trunk/examples/web/src/main/webapp/index.jsp

Added: servicemix/smx4/features/trunk/examples/web/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/web/src/main/webapp/WEB-INF/web.xml?rev=1037719&view=auto
==============================================================================
--- servicemix/smx4/features/trunk/examples/web/src/main/webapp/WEB-INF/web.xml (added)
+++ servicemix/smx4/features/trunk/examples/web/src/main/webapp/WEB-INF/web.xml Mon Nov 22 13:53:50 2010
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+   
+    http://www.apache.org/licenses/LICENSE-2.0
+   
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+<web-app version="2.4"
+         xmlns="http://java.sun.com/xml/ns/j2ee"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+                             http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+  <description>ServiceMix Embedded Example</description>
+  <display-name>ServiceMix Embedded Example</display-name>
+
+  <listener>
+    <listener-class>org.apache.servicemix.web.WebAppListener</listener-class>
+  </listener>
+
+  <welcome-file-list>
+    <welcome-file>index.jsp</welcome-file>
+  </welcome-file-list>
+		
+</web-app>

Added: servicemix/smx4/features/trunk/examples/web/src/main/webapp/index.jsp
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/web/src/main/webapp/index.jsp?rev=1037719&view=auto
==============================================================================
--- servicemix/smx4/features/trunk/examples/web/src/main/webapp/index.jsp (added)
+++ servicemix/smx4/features/trunk/examples/web/src/main/webapp/index.jsp Mon Nov 22 13:53:50 2010
@@ -0,0 +1,34 @@
+<%--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+   
+    http://www.apache.org/licenses/LICENSE-2.0
+   
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+--%>
+<html>
+<head>
+<title>Apache Karaf</title>
+</head>
+<body>
+
+<h2>Welcome!</h2>
+
+<p>
+Welcome to Apache Karaf web application demo
+</p>
+
+<p>
+You can find more information about Karaf on the <a href="http://karaf.apache.org/">Apache Karaf Site</a>
+</p>
+</body>
+</html>
+