This commit is contained in:
@@ -0,0 +1 @@
|
||||
title=Yacos
|
||||
3
trunk/YACOSWeb/WebContent/WEB-INF/jsp/include.jsp
Normal file
3
trunk/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
trunk/YACOSWeb/WebContent/WEB-INF/jsp/main.jsp
Normal file
15
trunk/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
trunk/YACOSWeb/WebContent/WEB-INF/jsp/submissionArticle.jsp
Normal file
16
trunk/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
trunk/YACOSWeb/WebContent/WEB-INF/lib/commons-logging.jar
Normal file
BIN
trunk/YACOSWeb/WebContent/WEB-INF/lib/commons-logging.jar
Normal file
Binary file not shown.
BIN
trunk/YACOSWeb/WebContent/WEB-INF/lib/jstl.jar
Normal file
BIN
trunk/YACOSWeb/WebContent/WEB-INF/lib/jstl.jar
Normal file
Binary file not shown.
BIN
trunk/YACOSWeb/WebContent/WEB-INF/lib/junit-3.8.2.jar
Normal file
BIN
trunk/YACOSWeb/WebContent/WEB-INF/lib/junit-3.8.2.jar
Normal file
Binary file not shown.
BIN
trunk/YACOSWeb/WebContent/WEB-INF/lib/spring-webmvc.jar
Normal file
BIN
trunk/YACOSWeb/WebContent/WEB-INF/lib/spring-webmvc.jar
Normal file
Binary file not shown.
BIN
trunk/YACOSWeb/WebContent/WEB-INF/lib/spring.jar
Normal file
BIN
trunk/YACOSWeb/WebContent/WEB-INF/lib/spring.jar
Normal file
Binary file not shown.
BIN
trunk/YACOSWeb/WebContent/WEB-INF/lib/standard.jar
Normal file
BIN
trunk/YACOSWeb/WebContent/WEB-INF/lib/standard.jar
Normal file
Binary file not shown.
33
trunk/YACOSWeb/WebContent/WEB-INF/web.xml
Normal file
33
trunk/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
trunk/YACOSWeb/WebContent/WEB-INF/yacos-servlet.xml
Normal file
32
trunk/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>
|
||||
Reference in New Issue
Block a user