Removed the trunk folder, moved the YACOSWeb directory
This commit is contained in:
9
YACOSWeb/.classpath
Normal file
9
YACOSWeb/.classpath
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.6.0_02"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.generic.runtimeTarget/JBoss v4.2"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
|
||||
<classpathentry kind="output" path="build/classes"/>
|
||||
</classpath>
|
||||
30
YACOSWeb/.project
Normal file
30
YACOSWeb/.project
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>YACOSWeb</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.common.project.facet.core.builder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.validation.validationbuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
|
||||
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
7
YACOSWeb/.settings/org.eclipse.jdt.core.prefs
Normal file
7
YACOSWeb/.settings/org.eclipse.jdt.core.prefs
Normal file
@@ -0,0 +1,7 @@
|
||||
#Wed Dec 12 11:00:13 GMT+01:00 2007
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
|
||||
org.eclipse.jdt.core.compiler.compliance=1.5
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.source=1.5
|
||||
@@ -0,0 +1,4 @@
|
||||
#Wed Dec 12 11:00:14 GMT+01:00 2007
|
||||
classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER\:\:org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType\:\:jdk1.6.0_02/owners=jst.java\:5.0
|
||||
classpath.helper/org.eclipse.jst.server.core.container\:\:org.eclipse.jst.server.generic.runtimeTarget\:\:JBoss\ v4.2/owners=jst.web\:2.5
|
||||
eclipse.preferences.version=1
|
||||
9
YACOSWeb/.settings/org.eclipse.wst.common.component
Normal file
9
YACOSWeb/.settings/org.eclipse.wst.common.component
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project-modules id="moduleCoreId" project-version="1.5.0">
|
||||
<wb-module deploy-name="YACOSWeb">
|
||||
<wb-resource deploy-path="/" source-path="/WebContent"/>
|
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
|
||||
<property name="context-root" value="YACOSWeb"/>
|
||||
<property name="java-output-path" value="build/classes"/>
|
||||
</wb-module>
|
||||
</project-modules>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<faceted-project>
|
||||
<runtime name="JBoss v4.2"/>
|
||||
<fixed facet="jst.java"/>
|
||||
<fixed facet="jst.web"/>
|
||||
<installed facet="jst.java" version="5.0"/>
|
||||
<installed facet="jst.web" version="2.5"/>
|
||||
</faceted-project>
|
||||
3
YACOSWeb/WebContent/META-INF/MANIFEST.MF
Normal file
3
YACOSWeb/WebContent/META-INF/MANIFEST.MF
Normal file
@@ -0,0 +1,3 @@
|
||||
Manifest-Version: 1.0
|
||||
Class-Path:
|
||||
|
||||
1
YACOSWeb/WebContent/WEB-INF/classes/messages.properties
Normal file
1
YACOSWeb/WebContent/WEB-INF/classes/messages.properties
Normal file
@@ -0,0 +1 @@
|
||||
title=Yacos
|
||||
3
YACOSWeb/WebContent/WEB-INF/jsp/include.jsp
Normal file
3
YACOSWeb/WebContent/WEB-INF/jsp/include.jsp
Normal file
@@ -0,0 +1,3 @@
|
||||
<%@ page session="false"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
|
||||
15
YACOSWeb/WebContent/WEB-INF/jsp/main.jsp
Normal file
15
YACOSWeb/WebContent/WEB-INF/jsp/main.jsp
Normal file
@@ -0,0 +1,15 @@
|
||||
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title><fmt:message key="title"/></title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<a href="<c:url value="submissionArticle.htm"/>">Soumettre un article</a><br />
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
16
YACOSWeb/WebContent/WEB-INF/jsp/submissionArticle.jsp
Normal file
16
YACOSWeb/WebContent/WEB-INF/jsp/submissionArticle.jsp
Normal file
@@ -0,0 +1,16 @@
|
||||
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title><fmt:message key="title" /></title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
|
||||
<a href="<c:url value="main.htm"/>">Accueil</a>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
BIN
YACOSWeb/WebContent/WEB-INF/lib/commons-logging.jar
Normal file
BIN
YACOSWeb/WebContent/WEB-INF/lib/commons-logging.jar
Normal file
Binary file not shown.
BIN
YACOSWeb/WebContent/WEB-INF/lib/jstl.jar
Normal file
BIN
YACOSWeb/WebContent/WEB-INF/lib/jstl.jar
Normal file
Binary file not shown.
BIN
YACOSWeb/WebContent/WEB-INF/lib/junit-3.8.2.jar
Normal file
BIN
YACOSWeb/WebContent/WEB-INF/lib/junit-3.8.2.jar
Normal file
Binary file not shown.
BIN
YACOSWeb/WebContent/WEB-INF/lib/spring-webmvc.jar
Normal file
BIN
YACOSWeb/WebContent/WEB-INF/lib/spring-webmvc.jar
Normal file
Binary file not shown.
BIN
YACOSWeb/WebContent/WEB-INF/lib/spring.jar
Normal file
BIN
YACOSWeb/WebContent/WEB-INF/lib/spring.jar
Normal file
Binary file not shown.
BIN
YACOSWeb/WebContent/WEB-INF/lib/standard.jar
Normal file
BIN
YACOSWeb/WebContent/WEB-INF/lib/standard.jar
Normal file
Binary file not shown.
33
YACOSWeb/WebContent/WEB-INF/web.xml
Normal file
33
YACOSWeb/WebContent/WEB-INF/web.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<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" >
|
||||
|
||||
<servlet>
|
||||
<servlet-name>siteMarchand</servlet-name>
|
||||
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
|
||||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>Yacos</servlet-name>
|
||||
<url-pattern>*.htm</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<welcome-file-list>
|
||||
<welcome-file>
|
||||
index.jsp
|
||||
</welcome-file>
|
||||
</welcome-file-list>
|
||||
|
||||
<jsp-config>
|
||||
<taglib>
|
||||
<taglib-uri>/spring</taglib-uri>
|
||||
<taglib-location>/WEB-INF/tld/spring-form.tld</taglib-location>
|
||||
</taglib>
|
||||
</jsp-config>
|
||||
|
||||
</web-app>
|
||||
32
YACOSWeb/WebContent/WEB-INF/yacos-servlet.xml
Normal file
32
YACOSWeb/WebContent/WEB-INF/yacos-servlet.xml
Normal file
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:jee="http://www.springframework.org/schema/jee"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
||||
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
|
||||
http://www.springframework.org/schema/jee
|
||||
http://www.springframework.org/schema/jee/spring-jee-2.5.xsd">
|
||||
|
||||
<!-- the application context definition for the SiteWebSpring DispatcherServlet -->
|
||||
|
||||
<bean name="/main.htm" class="web.MainController" />
|
||||
|
||||
<bean id="viewResolver"
|
||||
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
|
||||
<property name="viewClass"
|
||||
value="org.springframework.web.servlet.view.JstlView">
|
||||
</property>
|
||||
<property name="prefix" value="/WEB-INF/jsp/"></property>
|
||||
<property name="suffix" value=".jsp"></property>
|
||||
</bean>
|
||||
|
||||
<bean id="messageSource"
|
||||
class="org.springframework.context.support.ResourceBundleMessageSource">
|
||||
<property name="basename" value="messages" />
|
||||
</bean>
|
||||
|
||||
<jee:jndi-lookup id="articleManager" jndi-name="ArticleManagerBean/remote"
|
||||
cache="true" />
|
||||
|
||||
</beans>
|
||||
4
YACOSWeb/WebContent/index.jsp
Normal file
4
YACOSWeb/WebContent/index.jsp
Normal file
@@ -0,0 +1,4 @@
|
||||
<%@ include file="/WEB-INF/jsp/include.jsp" %>
|
||||
|
||||
<%-- Redirected because we can't set the welcome page to a virtual URL. --%>
|
||||
<c:redirect url="/main.htm"/>
|
||||
Reference in New Issue
Block a user