diff --git a/YACOSWeb/WebContent/WEB-INF/jsp/dispatchArticle.jsp b/YACOSWeb/WebContent/WEB-INF/jsp/dispatchArticle.jsp
index b42e5d5..bf59c69 100644
--- a/YACOSWeb/WebContent/WEB-INF/jsp/dispatchArticle.jsp
+++ b/YACOSWeb/WebContent/WEB-INF/jsp/dispatchArticle.jsp
@@ -14,7 +14,7 @@
title : ${article.title}
theme: ${article.topic}
- author: ${article.mainAuthor} |
+
main author: ${article.mainAuthor.firstName}{article.mainAuthor.lastName}
download the article |
diff --git a/YACOSWeb/src/org/yacos/web/chairman/controller/DispatchArticleController.java b/YACOSWeb/src/org/yacos/web/chairman/controller/DispatchArticleController.java
index a2e1d6b..4e3ced9 100644
--- a/YACOSWeb/src/org/yacos/web/chairman/controller/DispatchArticleController.java
+++ b/YACOSWeb/src/org/yacos/web/chairman/controller/DispatchArticleController.java
@@ -68,12 +68,12 @@ public class DispatchArticleController extends SimpleFormController{
Object formDispatcher, BindException errors) throws Exception {
//on recupere l'id de conference
- Conference conf = (Conference)request.getSession().getAttribute("idCurrentConference");
+ int conf_id = (Integer)request.getSession().getAttribute("idCurrentConference");
FormDispatcher fd = (FormDispatcher)formDispatcher;
Article article = articleManager.getArticle(fd.getIdArticle());
- return new ModelAndView("dispatchArticle", "articles", articleManager.getArticles(conf.getId()));
+ return new ModelAndView("dispatchArticle", "articles", articleManager.getArticles(conf_id));
}
}