You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jg...@apache.org on 2018/12/06 22:38:19 UTC

[02/17] tomee git commit: exemple-mvc-cxf

http://git-wip-us.apache.org/repos/asf/tomee/blob/58589f74/examples/mvc-cxf/src/main/webapp/templates/footer.jsp
----------------------------------------------------------------------
diff --git a/examples/mvc-cxf/src/main/webapp/templates/footer.jsp b/examples/mvc-cxf/src/main/webapp/templates/footer.jsp
new file mode 100644
index 0000000..45f547c
--- /dev/null
+++ b/examples/mvc-cxf/src/main/webapp/templates/footer.jsp
@@ -0,0 +1,33 @@
+<%@ page language="java" contentType="text/html; charset=UTF-8"
+	pageEncoding="UTF-8"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
+<!DOCTYPE html>
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<link href="${pageContext.request.contextPath}/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet"
+	type="text/css" />
+<body>
+
+    <footer align="center">
+        <div class="container-fluid">
+            <div class="row">
+                <div class="col-lg-12">
+                    <ul class="list-inline">
+                        <li>
+                            <p class="copyright text-muted small">Copyright &copy; Tomee 2018 . </p>
+                        </li>
+                    </ul>
+                </div>
+            </div>
+        </div>
+    </footer>
+	<script type="text/javascript" src="${pageContext.request.contextPath}/resources/bootstrap/js/jquery.min.js">
+		
+	</script>
+	
+	<script type="text/javascript" src="${pageContext.request.contextPath}/resources/bootstrap/js/bootstrap.min.js">
+		
+	</script>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/tomee/blob/58589f74/examples/mvc-cxf/src/main/webapp/templates/menu.jsp
----------------------------------------------------------------------
diff --git a/examples/mvc-cxf/src/main/webapp/templates/menu.jsp b/examples/mvc-cxf/src/main/webapp/templates/menu.jsp
new file mode 100644
index 0000000..2ca62ca
--- /dev/null
+++ b/examples/mvc-cxf/src/main/webapp/templates/menu.jsp
@@ -0,0 +1,36 @@
+<%@ page language="java" contentType="text/html; charset=UTF-8"
+	pageEncoding="UTF-8"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
+<!DOCTYPE html>
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
+	name="viewport" content="width=device-width, initial-scale=1">
+<title>MVC 1.0 DEMO</title>
+<link href="${pageContext.request.contextPath}/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet"
+	type="text/css" />
+</head>
+<body>
+	<div class="navbar navbar-inverse">
+		<div class="container-fluid">
+			<div class="navbar-header">
+				<a class="navbar-brand" href="${mvc.basePath}/home">MVC 1.0 DEMO</a>
+			</div>
+			<div>
+				<ul class="nav navbar-nav">
+					<li class="active"><a href="${mvc.basePath}/mvc/show">Peoples</a></li>
+				</ul>
+			</div>
+		</div>
+	</div>
+	<script type="text/javascript" src="${pageContext.request.contextPath}/resources/bootstrap/js/jquery.min.js">
+		
+	</script>
+	
+	<script type="text/javascript" src="${pageContext.request.contextPath}/resources/bootstrap/js/bootstrap.min.js">
+		
+	</script>
+
+	
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/tomee/blob/58589f74/examples/pom.xml
----------------------------------------------------------------------
diff --git a/examples/pom.xml b/examples/pom.xml
index 9a19500..c56fbbc 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -174,6 +174,7 @@ BROKEN, see TOMEE-2140
     <module>mp-metrics-counted</module>
     <module>mp-metrics-timed</module>
     <module>websocket-tls-basic-auth</module>
+    <module>mvc-cxf</module>
   </modules>
 
   <dependencies>