Browse Source

Prêt pour Struts 2

Daniel Le Berre 5 years ago
parent
commit
db9d55941d

BIN
WebContent/WEB-INF/lib/commons-fileupload-1.4.jar


BIN
WebContent/WEB-INF/lib/commons-io-2.6.jar


BIN
WebContent/WEB-INF/lib/commons-lang3-3.8.1.jar


BIN
WebContent/WEB-INF/lib/freemarker-2.3.28.jar


BIN
WebContent/WEB-INF/lib/javassist-3.20.0-GA.jar


BIN
WebContent/WEB-INF/lib/log4j-api-2.11.1.jar


BIN
WebContent/WEB-INF/lib/ognl-3.1.21.jar


BIN
WebContent/WEB-INF/lib/struts2-core-2.5.20.jar


+ 14 - 0
WebContent/WEB-INF/web.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
+	xmlns:xml="http://www.w3.org/XML/1998/namespace"
+	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_3_0.xsd ">
+	<filter>
+		<filter-name>struts2</filter-name>
+		<filter-class>org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter</filter-class>
+	</filter>
+	<filter-mapping>
+		<filter-name>struts2</filter-name>
+		<url-pattern>/*</url-pattern>
+	</filter-mapping>
+</web-app>

+ 0 - 3
WebContent/WebContent/META-INF/MANIFEST.MF

@@ -1,3 +0,0 @@
-Manifest-Version: 1.0
-Class-Path: 
-

+ 2 - 2
WebContent/settings/index.html

@@ -28,10 +28,10 @@
 	         <div class="container">
 	         <div class="container">
 	            <h4 class="section-title">Nos espaces:</h4>
 	            <h4 class="section-title">Nos espaces:</h4>
 	           <div>
 	           <div>
-				<a href="http://localhost:8080/lens/configure?espace=accueil"><button type="button" class="btn btn-danger btn-lg espace" >Accueil</button></a>	 
+				<a href="http://localhost:8080/lens/settings/configure?espace=accueil"><button type="button" class="btn btn-danger btn-lg espace" >Accueil</button></a>	 
 			   </div>
 			   </div>
 			   <div>
 			   <div>
-				<a href="http://localhost:8080/lens/configure?espace=imprimante3D"><button type="button" class="btn btn-danger btn-lg espace" >Imprimante 3D</button></a>	 
+				<a href="http://localhost:8080/lens/settings/configure?espace=imprimante3D"><button type="button" class="btn btn-danger btn-lg espace" >Imprimante 3D</button></a>	 
 			   </div>	           
 			   </div>	           
 	         </div>	
 	         </div>	
 	      </main>
 	      </main>