modify Pattern view for error in eclipse, more complex but no error
This commit is contained in:
@@ -1,5 +1,17 @@
|
|||||||
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
||||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
|
<!--
|
||||||
|
<%@ page session="false" %> spring -> true par defaut
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
|
<title><fmt:message key="title"/></title>
|
||||||
|
<link rel="stylesheet" href="./stylesheets/base.css" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
<jsp:include page="/WEB-INF/jsp/header.jsp" />
|
<jsp:include page="/WEB-INF/jsp/header.jsp" />
|
||||||
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
|
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
|
||||||
|
|
||||||
@@ -27,6 +39,14 @@
|
|||||||
<input type="submit" value="<fmt:message key="button.OK"/>"/>
|
<input type="submit" value="<fmt:message key="button.OK"/>"/>
|
||||||
</c:if>
|
</c:if>
|
||||||
</form:form>
|
</form:form>
|
||||||
|
|
||||||
<a href="<c:url value="main.htm"/>">Home</a>
|
<a href="<c:url value="main.htm"/>">Home</a>
|
||||||
<jsp:include page="/WEB-INF/jsp/footer.jsp" />
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="footer"> </div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|||||||
@@ -1,7 +1,31 @@
|
|||||||
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
||||||
<%@ page session="false" %>
|
<%@ page session="false" %>
|
||||||
<jsp:include page="/WEB-INF/jsp/header.jsp" />
|
|
||||||
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
|
|
||||||
|
|
||||||
<fmt:message key="preference.ok"/>
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
<jsp:include page="/WEB-INF/jsp/footer.jsp" />
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
|
<title><fmt:message key="title"/></title>
|
||||||
|
<link rel="stylesheet" href="./stylesheets/base.css" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<jsp:include page="/WEB-INF/jsp/header.jsp" />
|
||||||
|
|
||||||
|
<div class="mainBloc">
|
||||||
|
<div class="header"> </div>
|
||||||
|
<div class="content">
|
||||||
|
|
||||||
|
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
|
||||||
|
<div id="main_content">
|
||||||
|
|
||||||
|
<fmt:message key="preference.ok"/>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="footer"> </div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -1,45 +1,60 @@
|
|||||||
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
||||||
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
|
<!--
|
||||||
pageEncoding="ISO-8859-1"%>
|
<%@ page session="false" %> spring -> true par defaut
|
||||||
|
-->
|
||||||
|
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<title>dispatchArticles</title>
|
<title><fmt:message key="title"/></title>
|
||||||
|
<link rel="stylesheet" href="./stylesheets/base.css" type="text/css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
<jsp:include page="/WEB-INF/jsp/header.jsp" />
|
||||||
|
|
||||||
<br/>
|
<div class="mainBloc">
|
||||||
<br/>
|
<div class="header"> </div>
|
||||||
<br/>
|
<div class="content">
|
||||||
<table>
|
|
||||||
<tr>
|
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
|
||||||
<th>articles to dispatch</th><th>members</th><th></th>
|
<div id="main_content">
|
||||||
</tr>
|
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<th>articles to dispatch</th><th>members</th><th></th>
|
||||||
|
</tr>
|
||||||
<c:forEach var="article" items="${articles}">
|
<c:forEach var="article" items="${articles}">
|
||||||
<tr>
|
<tr>
|
||||||
<td>titre : ${article.title} <a href="${article.URL_article}">download the article</a></td>
|
<td>titre : ${article.title} <a href="${article.URL_article}">download the article</a></td>
|
||||||
<td>
|
<td>
|
||||||
<form:form commandName="formDispatcher">
|
<form:form commandName="formDispatcher">
|
||||||
|
|
||||||
<input name="idArticle" type="hidden" value="${article.id}" />
|
<input name="idArticle" type="hidden" value="${article.id}" />
|
||||||
|
|
||||||
<form:select path="member">
|
<form:select path="member">
|
||||||
<c:forEach var="member" items="${members}">
|
<c:forEach var="member" items="${members}">
|
||||||
<form:option value="${member.login}">
|
<form:option value="${member.login}">
|
||||||
${member.firstName}${member.lastName}
|
${member.firstName}${member.lastName}
|
||||||
</form:option>
|
</form:option>
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
</form:select>
|
</form:select>
|
||||||
|
|
||||||
<input type="submit" value="add" />
|
<input type="submit" value="add" />
|
||||||
</form:form>
|
</form:form>
|
||||||
</td>
|
</td>
|
||||||
<td>telecharger l'article</td>
|
<td>telecharger l'article</td>
|
||||||
</tr>
|
</tr>
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
</table>
|
</table>
|
||||||
</body>
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="footer"> </div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="footer"> </div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,12 +1,4 @@
|
|||||||
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
|
||||||
<title><fmt:message key="title"/></title>
|
|
||||||
<link rel="stylesheet" href="./stylesheets/base.css" type="text/css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="headerBloc">
|
<div class="headerBloc">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<img src="./images/yacos.logo.blancLQ.png" width="40%"/>
|
<img src="./images/yacos.logo.blancLQ.png" width="40%"/>
|
||||||
@@ -14,6 +6,3 @@
|
|||||||
<div class="footer"> </div>
|
<div class="footer"> </div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mainBloc">
|
|
||||||
<div class="header"> </div>
|
|
||||||
<div class="content">
|
|
||||||
@@ -1,9 +1,31 @@
|
|||||||
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
||||||
<%@ page session="false" %>
|
<%@ page session="false" %>
|
||||||
|
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
|
<title><fmt:message key="title"/></title>
|
||||||
|
<link rel="stylesheet" href="./stylesheets/base.css" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
<jsp:include page="/WEB-INF/jsp/header.jsp" />
|
<jsp:include page="/WEB-INF/jsp/header.jsp" />
|
||||||
|
|
||||||
|
<div class="mainBloc">
|
||||||
|
<div class="header"> </div>
|
||||||
|
<div class="content">
|
||||||
|
|
||||||
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
|
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
|
||||||
|
<div id="main_content">
|
||||||
Main Page
|
|
||||||
|
Main Page
|
||||||
<jsp:include page="/WEB-INF/jsp/footer.jsp" />
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="footer"> </div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
||||||
<div id="menu">
|
<div id="menu">
|
||||||
<div class="miniBloc">
|
<div class="miniBloc">
|
||||||
<div class="header">Connexion</div>
|
<div class="header">Menu</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="<c:url value="submissionArticle.htm"/>"><fmt:message key="submission.title" /></a></li>
|
<li><a href="<c:url value="submissionArticle.htm"/>"><fmt:message key="submission.title" /></a></li>
|
||||||
@@ -18,5 +18,4 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="footer"> </div>
|
<div class="footer"> </div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="main_content">
|
|
||||||
@@ -2,9 +2,32 @@
|
|||||||
<!--
|
<!--
|
||||||
<%@ page session="false" %> spring -> true par defaut
|
<%@ page session="false" %> spring -> true par defaut
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
|
<title><fmt:message key="title"/></title>
|
||||||
|
<link rel="stylesheet" href="./stylesheets/base.css" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
<jsp:include page="/WEB-INF/jsp/header.jsp" />
|
<jsp:include page="/WEB-INF/jsp/header.jsp" />
|
||||||
|
|
||||||
|
<div class="mainBloc">
|
||||||
|
<div class="header"> </div>
|
||||||
|
<div class="content">
|
||||||
|
|
||||||
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
|
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
|
||||||
|
<div id="main_content">
|
||||||
|
|
||||||
VOTRE CONTENU ICI
|
VOTRE CONTENU ICI
|
||||||
|
|
||||||
<jsp:include page="/WEB-INF/jsp/footer.jsp" />
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="footer"> </div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -1,24 +1,35 @@
|
|||||||
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
||||||
<%@ page session="false" %>
|
<%@ page session="false" %>
|
||||||
|
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
|
<title><fmt:message key="title"/></title>
|
||||||
|
<link rel="stylesheet" href="./stylesheets/base.css" type="text/css" />
|
||||||
|
<script language="JavaScript">
|
||||||
|
function Ajouter(form) {
|
||||||
|
var o=new Option(form.secondaryauthor.value);
|
||||||
|
form.liste.options[form.liste.options.length]=o;
|
||||||
|
}
|
||||||
|
|
||||||
|
function Supprimer(form) {
|
||||||
|
form.liste.options[form.liste.options.selectedIndex]=null;
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
<jsp:include page="/WEB-INF/jsp/header.jsp" />
|
<jsp:include page="/WEB-INF/jsp/header.jsp" />
|
||||||
|
|
||||||
|
<div class="mainBloc">
|
||||||
|
<div class="header"> </div>
|
||||||
|
<div class="content">
|
||||||
|
|
||||||
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
|
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
|
||||||
|
<div id="main_content">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script language="JavaScript">
|
|
||||||
function Ajouter(form) {
|
|
||||||
var o=new Option(form.secondaryauthor.value);
|
|
||||||
form.liste.options[form.liste.options.length]=o;
|
|
||||||
}
|
|
||||||
|
|
||||||
function Supprimer(form) {
|
|
||||||
form.liste.options[form.liste.options.selectedIndex]=null;
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h2 align="center"><fmt:message key="submission.title" /></h2>
|
<h2 align="center"><fmt:message key="submission.title" /></h2>
|
||||||
|
|
||||||
<form:form method="post" enctype="multipart/form-data" commandName="submissionArticle">
|
<form:form method="post" enctype="multipart/form-data" commandName="submissionArticle">
|
||||||
@@ -31,26 +42,34 @@ function Supprimer(form) {
|
|||||||
|
|
||||||
<label for="listauthor"><fmt:message key="form.submission.listauthor" /></label> <br /><br />
|
<label for="listauthor"><fmt:message key="form.submission.listauthor" /></label> <br /><br />
|
||||||
<form:label path="mainauthor"><fmt:message key="form.submission.mainauthor" /></form:label> <form:input path="mainauthor" /> <br/><br />
|
<form:label path="mainauthor"><fmt:message key="form.submission.mainauthor" /></form:label> <form:input path="mainauthor" /> <br/><br />
|
||||||
<form:label path="secondaryauthor"><fmt:message key="form.submission.secondaryauthor" /></form:label> <form:input path="secondaryauthor" />
|
<form:label path="secondaryauthor"><fmt:message key="form.submission.secondaryauthor" /></form:label> <form:input path="secondaryauthor" />
|
||||||
<input type="button" name="addSecondary" onClick="Ajouter(this.form)" value=<fmt:message key="button.add" />> <br/><br />
|
<input type="button" name="addSecondary" onClick="Ajouter(this.form)" value=<fmt:message key="button.add" />> <br/><br />
|
||||||
|
|
||||||
<form:select path="liste" size="5" ondblclick="Supprimer(this.form)" multiple="true">
|
<form:select path="liste" size="5" ondblclick="Supprimer(this.form)" multiple="true">
|
||||||
|
|
||||||
</form:select>
|
</form:select>
|
||||||
<br /><br />
|
<br /><br />
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
<br />
|
<br />
|
||||||
File <input type="file" name="file"/>
|
File <input type="file" name="file"/>
|
||||||
|
|
||||||
<br /><br />
|
<br /><br />
|
||||||
|
|
||||||
<input type="reset" value="<fmt:message key="button.reset" />"/>
|
<input type="reset" value="<fmt:message key="button.reset" />"/>
|
||||||
<input type="submit" value="<fmt:message key="button.OK" />"/> <br/><br/>
|
<input type="submit" value="<fmt:message key="button.OK" />"/> <br/><br/>
|
||||||
|
|
||||||
</form:form>
|
</form:form>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a href="<c:url value="main.htm"/>">Home</a>
|
<a href="<c:url value="main.htm"/>">Home</a>
|
||||||
<jsp:include page="/WEB-INF/jsp/footer.jsp" />
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="footer"> </div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|||||||
@@ -1,8 +1,25 @@
|
|||||||
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
||||||
<%@ page session="false" %>
|
<%@ page session="false" %>
|
||||||
<jsp:include page="/WEB-INF/jsp/header.jsp" />
|
|
||||||
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
|
|
||||||
|
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
|
<title><fmt:message key="title"/></title>
|
||||||
|
<link rel="stylesheet" href="./stylesheets/base.css" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<jsp:include page="/WEB-INF/jsp/header.jsp" />
|
||||||
|
|
||||||
|
<div class="mainBloc">
|
||||||
|
<div class="header"> </div>
|
||||||
|
<div class="content">
|
||||||
|
|
||||||
|
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
|
||||||
|
<div id="main_content">
|
||||||
|
|
||||||
|
|
||||||
Soumission OK
|
Soumission OK
|
||||||
|
|
||||||
<c:if test="${fileUploaded}">
|
<c:if test="${fileUploaded}">
|
||||||
@@ -14,4 +31,11 @@ Soumission OK
|
|||||||
|
|
||||||
<a href="<c:url value="main.htm"/>">Home</a>
|
<a href="<c:url value="main.htm"/>">Home</a>
|
||||||
|
|
||||||
<jsp:include page="/WEB-INF/jsp/footer.jsp" />
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="footer"> </div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user